[Question] How to disable free Highlight Drawing while keeping Text Highlighting? #19660
Unanswered
lightmagic1
asked this question in
Q&A
Replies: 0 comments
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.
-
Hi, I'm using PDF.js and noticed that the highlight annotation feature allows both text selection-based highlighting and free drawing highlighting (where users can manually draw highlights anywhere on the document).
I would like to disable the free drawing highlight while keeping the ability to highlight selected text.
Is there a built-in way to achieve this? If not, what would be the best approach to modify the code to remove only the free drawing functionality?
Any guidance on where to look in the codebase or which configuration options to tweak would be greatly appreciated.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions