I want to capture selected text from Etherpad. There is API methods available /getText that will return the entire text. My requirement is to get only selected text.
Thanks in advance!
I want to capture selected text from Etherpad. There is API methods available /getText that will return the entire text. My requirement is to get only selected text.
Thanks in advance!
If you want to use the selected text in an outer frame, you could use a postMessage System.
Receiver and Sender Site:
This code will get you the whole lines of text from the selection. If you want to get the exacts characters, you would need a second loop within the idx for-loop