You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you very much for providing this good plug-in. I want to export its highlighting text while exporting comments. My idea is to add more fields to the comment table to store the highlighting text while adding highlighting text comments. But I checked the source code and could not find the way to get the highlighting text.Can you give me some help?Thanks
The text was updated successfully, but these errors were encountered:
Hi,
this is probably not so easy. For all annotations including the highlight, only the position as x- and y-coordinate is saved. And the annotations are displayed in a separate "annotationLayer" on top of the pdf-document. So I don't think there's a direct connection between the highlight and the underlying text.
Unfortunately I don't know how exactly it works but the annotations are created in the index.js which uses the pdfjs-library. Both you can find in the shared-folder. Maybe you can find something there
Thank you very much for providing this good plug-in. I want to export its highlighting text while exporting comments. My idea is to add more fields to the comment table to store the highlighting text while adding highlighting text comments. But I checked the source code and could not find the way to get the highlighting text.Can you give me some help?Thanks
The text was updated successfully, but these errors were encountered: