Skip to main content
Participant
May 25, 2020
Answered

Event of text selection

  • May 25, 2020
  • 9 replies
  • 1363 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 is closed to new replies. Start a new post to keep the conversation going.
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.

9 replies

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.