Skip to main content
Inspiring
October 24, 2023
Question

BUG: Text comment annotation not triggering ANNOTATION_ADDED

  • October 24, 2023
  • 1 reply
  • 661 views

When using the comment function on the annotation toolbar, it does not trigger the ANNOTATION_ADDED event in my callback, every other one does.

 

I have the right hand comments panel disabled, because i don't want to show comments in the Adobe UI, i have my own UI which handles the callbacks and communicates with the PDF viewer through the API

    This topic has been closed for replies.

    1 reply

    Inspiring
    October 24, 2023

     

    This is the only annotation type not triggering

     

    Joel Geraci
    Adobe Expert
    October 24, 2023

    My guess is that with the panel closed, Embed is still waiting for you to add text to that annot and then post it. Are you doing anything in your code to inject text into the "bodyValue" of the annotation?

    Inspiring
    October 24, 2023

    The body value comes from a prompt that happens after the annotation is added