How to get selected text in RichtextArea?

How to get portion of text in the RichTextArea which been highlighted using mouse?

Can I get a fast response please?

Hello @wif180048 ,

sorry for the long delay. RichTextArea does not provide this functionality as it’s not a simple input field. It contains the iframe, and GWT does not provide an API for managing selection.