3

I know you can disable the callout when a user long-taps on a link using this:

body {
    -webkit-touch-callout: none !important;
}

a {
    -webkit-user-select: none !important;
}

But what about the text selection menu? My use case is a contentEditable region in which the user should be allowed to select content, but the callout appears on top of the app's own formatting menu.

Here's the callout I'm referring to:

enter image description here

claviska
  • 12,410
  • 2
  • 27
  • 50

1 Answers1

-3

here is your answer i am not sure but it's work

 -webkit-user-select: none;  /* Chrome all / Safari all */
 -moz-user-select: none;/* Firefox all */
 -ms-user-select: none; 
  • 1
    That disables text selection altogether, which is not desired. The user needs to be able to select text, but without the callout. – claviska Mar 07 '14 at 16:10