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

competition between getSelectedContent and showing Tools On Text Selection

New Here ,
Apr 16, 2022 Apr 16, 2022

There is a competition between getSelectedContent and showing Tools On Text Selection. If set setTimeout with 1 sec delay for getSelectedContent after 

"PREVIEW_SELECTION_END" event, then the tools on text selection are shown, otherwise they are not.

TOPICS
PDF Services API
495
Translate
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 ,
Apr 18, 2022 Apr 18, 2022

Can you share your code?

Translate
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 ,
Jun 16, 2022 Jun 16, 2022

Did you end up finding a solution to this?

Translate
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 ,
Aug 10, 2024 Aug 10, 2024
LATEST

Thanks, I have been having the same problem. The delayed function works, but feels abit like a hack. Is there a better way to do this

Translate
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