Skip to main content
Participant
Apr 16, 2022 8:37 PM UTC
Question

competition between getSelectedContent and showing Tools On Text Selection

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.

This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

Participant
Aug 10, 2024 10:42 AM UTC

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

Translate
Participant
Jun 16, 2022 5:29 PM UTC

Did you end up finding a solution to this?

Translate
Apr 18, 2022 4:29 PM UTC

Can you share your code?

Translate