0
Programmatically set value to the Comment Input then Trigger click of Post button on Comment panel
New Here
,
/t5/acrobat-services-api-discussions/programmatically-set-value-to-the-comment-input-then-trigger-click-of-post-button-on-comment-panel/td-p/11782810
Jan 25, 2021
Jan 25, 2021
Copy link to clipboard
Copied
Hello,
We want that whenever we highlighted text on the viewer, we will insert the copied text(+ some texts) to the comment input then automatically trigger the Post button.
We can now get the highlighted text using AdobeDC.View.Enum.FilePreviewEvents.PREVIEW_SELECTION_END event but we still don't know how to put that value to the Comment input and trigger the Post button automatically.
Is there a a way to access the current Comment controls?
Thanks,
TOPICS
PDF Embed API
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Have something to add?
Join the conversation

