Replies: 2 comments 1 reply
-
I'm not aware of any "unique ID" for a given text, let alone user-invoked selection. What you could do is create one yourself by combining document fingerprint + page index + text layer item index + selection start/end position within text layer item. |
Beta Was this translation helpful? Give feedback.
0 replies
-
This all makes sense. But I'm not sure what you mean by "document fingerprint". Is this the document id? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm new to the library and am confused by the use of the word
annotation
. We have a use case where we would like users to be able to select text, and write a comment about it.We would store the "address" of the highlight for rendering later, and the actual "comment" (what we call an annotation) in our database.
Can this library be used for something like this?
Beta Was this translation helpful? Give feedback.
All reactions