How to get selected text in TMSFNCWXHTMLMemo

Is there a way to get the selected text inside a TMSFNCWXHTMLMemo component?

This isn't exposed yet but is a good idea to add it.
We've put it on the todolist.

1 Like

ok, thanks. It would also be great to get the cursor position in the text.

Also, would it be possible to add a function to execute javascript similar to the FNCWebbrowser? The idea is to get access the Summernote API and plugins options to do custom stuff.

That is an equally useful function indeed to get the cursor position and execute JavaScript.
We'll discuss this in the team & consider integration into a future update.

1 Like