Copy link to clipboard
Copied
There is a competition between getSelectedContent and showing Tools On Text Selection. If set setTimeout with 1 sec delay for getSelectedContent after
"PREVIEW_SELECTION_END" event, then the tools on text selection are shown, otherwise they are not.
Copy link to clipboard
Copied
Can you share your code?
Copy link to clipboard
Copied
Did you end up finding a solution to this?
Copy link to clipboard
Copied
Thanks, I have been having the same problem. The delayed function works, but feels abit like a hack. Is there a better way to do this