How to disable search and text selection?

118 views
Skip to first unread message

Matt Parizeau

unread,
Mar 2, 2018, 2:06:27 PM3/2/18
to pdfnet-w...@googlegroups.com
Q:

Is it possible to disable search and text selection inside WebViewer?

A:

Yes, you can add the following code inside your config file:

// hide quick search input
ReaderControl.config.ui.hideTextSearch = true;
// hide search tab
$
('[href="#tabs-3"]').hide()
// disable text selection
Tools.Tool.ENABLE_TEXT_SELECTION = false;
// don't add the annotated text to the note field
Tools.TextAnnotationCreateTool.AUTO_SET_TEXT = false;

Reply all
Reply to author
Forward
0 new messages