Copy link to clipboard
Copied
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?
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
Can I get the selected text?
Copy link to clipboard
Copied
We are already working on this. It will be available in our upcoming release soon.
Copy link to clipboard
Copied
When should the next version will be released?
Copy link to clipboard
Copied
You can expect it by mid of June at the earliest.
Copy link to clipboard
Copied
Is there any news on this yet? Nothing in documentation regarding accessing selected text?
Copy link to clipboard
Copied
Hi,
We have this ability now. You can use the getSelectedContent APImentioned under section Viewer API in our public documentation https://www.adobe.io/apis/documentcloud/dcsdk/docs.html
Copy link to clipboard
Copied
Excellent! Thank you for the quick reply.
Copy link to clipboard
Copied
Hi, You can use getSelectedContent viewer API to get the selected text after receiving the PREVIEW_SELECTION_END event. API is documented in Viewer API section of documentation.