we are evaluating mobile web viewer , we are trying to achieve highlight experience like below
1] User opens viewer : it is in Pan Mode
2] User tap and hold on, text in viewer, tool Mode should change to "Text Highlight Create" and user should see a Icon indicating text Highlight started from the point where he tap and hold.
3] User highlights the text, where highlight color is blue same as "text selection" as he proceed he should see an icon indicating text Highlight end point.
4] User should able to extend the highlighted text further by dragging the end or start point icon.
5] As user is done with highlight he should see a context menu over highlighted text that when tapped, changes the color of highlight text to red.
6] The tool mode should change to Pan Mode again on any other action.
For this we tried adding
under onTapHold: function () in MobileReaderControl.js
that sets a tool mode to Text Highlight but dose't work as expected, it dose't continue to Highlight after tap and hold.
PFA video for above experience .
Can you please guide us to achieve above experience .