Context/Custom menu on text select Ionic 2/3


#1

When I long press on the text in my webview/app, I am getting context menu with following items “select”, “select all”, “web search”. See attached pic

How can I set my custom ones?


#2

This is from the OS, in this case iOS.


#3

Yes thats true. I wan override the default behavior or at least suppress it


#4

This will probably let you disable it: http://stackoverflow.com/a/4407335


#5

Thanks for quick reply. If I do user-select: none;, I wont be able to select text, which is a feature I really need.

The thing is, I need to select text then present the user with options to “Highlight”, “Bold”, “Italisize” instead of defaults (search, select all, look up, share etc)


#6

Did you manage to find a solution?