Replies: 1 comment 3 replies
-
Well, the disappointing answer is that the base library doesn't implement this feature. My annotations API highjacks the copy-and-paste API. According to the pdf.js team, it doesn't make sense to copy and paste a highlight. Come to think of it, it makes sense. Therefore, they didn't implement pasting highlights from the clipboard - and my algorithm fails. Also see #2345. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey there! I've been working with the ngx-extended-pdf-viewer in an attempt to have the ability to reapply highlights that have been previously exported. For text highlighting, I've been able to get it working pretty smoothly. My issue comes with the Free Highlights, when I try to reapply them, it seems like it's missing the context of the box it that it was originally in if that makes sense.
So I guess my question, what piece am I missing or where should I focus looking to get that box to get free highlight positioned correctly on the page?
Thanks for your time.
Beta Was this translation helpful? Give feedback.
All reactions