Selectable text in overaly decoration


#1

Hi,

Is it possible to use a marker decoration of type overlay to create a tooltip box, such that the text within the created tooltip be selectable (and copiable) by mouse?

Thanks.


#2

I haven’t tried it, but maybe you can use the native-key-bindings class on your overlay element.


#3

Thanks for the response. I tried doing that, mostly through the developer console, but it doesn’t seem to have any effect. Though, being a newbie in these matters, it’s quite possible that I’m doing something wrong.