• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Event of text selection

New Here ,
May 25, 2020 May 25, 2020

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?

Views

631

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , May 25, 2020 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.

Votes

Translate

Translate
Adobe Employee ,
May 25, 2020 May 25, 2020

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 25, 2020 May 25, 2020

Copy link to clipboard

Copied

Can I get the selected text?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
May 25, 2020 May 25, 2020

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 25, 2020 May 25, 2020

Copy link to clipboard

Copied

When should the next version will be released?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
May 25, 2020 May 25, 2020

Copy link to clipboard

Copied

You can expect it by mid of June at the earliest.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 11, 2020 Sep 11, 2020

Copy link to clipboard

Copied

Is there any news on this yet?  Nothing in documentation regarding accessing selected text?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 11, 2020 Sep 11, 2020

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 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 11, 2020 Sep 11, 2020

Copy link to clipboard

Copied

LATEST

Excellent!  Thank you for the quick reply.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 11, 2020 Sep 11, 2020

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources