Skip to main content
Participant
May 25, 2020
Answered

Event of text selection

  • May 25, 2020
  • 1 reply
  • 1347 views

Is there a event after text selection?
I want to run my own code after the user finish to select text. Is there any way to do that?

This topic has been closed for replies.
Correct answer Shubhanshu Dixit

Yes, there is an event (PREVIEW_SELECTION_END) after text selection.

Please visit https://www.adobe.io/apis/documentcloud/dcsdk/docs.html?view=view if you want to know how to listen to such events. You will get the required information under section Basic events.

1 reply

Shubhanshu DixitCorrect answer
Adobe Employee
May 25, 2020

Yes, there is an event (PREVIEW_SELECTION_END) after text selection.

Please visit https://www.adobe.io/apis/documentcloud/dcsdk/docs.html?view=view if you want to know how to listen to such events. You will get the required information under section Basic events.

michal6Author
Participant
May 25, 2020

Can I get the selected text?

Adobe Employee
May 25, 2020

We are already working on this. It will be available in our upcoming release soon.