TextArea getSelectedText function

Hello everybody, there is any way to get selected text from TextArea ?

Thank you


I don’t think there is a way to get the selection, but you could write an extension for the TextArea that listens for selection changes at the client side and communicate the events to the server side.


Thank you for suggestion, i will try to do :slight_smile: and i let you know about the result

I’m glad to be of help! :slight_smile:
If you haven’t written extensions for components before, you could take some ideas from
this tutorial
. Feel free to publish your extension to