-
Notifications
You must be signed in to change notification settings - Fork 10k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Text annotations with line breaks lose their first line #17079
Comments
I can reproduce with chrome. |
@Snuffleupagus @StevenSwitten @calixteman I want to resolve this issue . |
I was stuck with this problem. I have found that this is caused by '#content' of text editor is different from the actual inner text of the text editor. |
@Ztong55 so should i fix it or no? |
@jatinder14 I am only a user of this package and can't decide whether you shall fix it. |
can you explain it more with screenshots or videos that could help me fixing it fast |
Attach (recommended) or Link to PDF file here: Can be reproduced on the demo page: https://mozilla.github.io/pdf.js/web/viewer.html
Configuration:
Steps to reproduce the problem:
1. Click the Text annotation button
2. Type something. Press enter key. Type some more
3. Save the PDF
What is the expected behavior? (add screenshot)
The new PDF should have the full text annotation
What went wrong? (add screenshot)
The first line of the text annotation is omitted
The text was updated successfully, but these errors were encountered: