This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Ralph DeMars Gnonlonfoun
Posted May 31 - Read on Facebook

Hey here !
Do anyone knows how I can get an text selected event ?
I want to execute some script when the user select a text


Koen Bok

I made you a quick example:

Niels van Hoorn

If you want to listen to every selection change of the user, without using mouseup, you could add a selectionchange event listener to window.document, like this:

Ralph DeMars Gnonlonfoun

Great! thanks. I have understand it !
But is there any way to have the selection coordinate ?
I am trying in fact to show a button after the user select a text, just behind this text

Read the entire post on Facebook