Skip to main content
Inspiring
Oct 24, 2023 6:50 PM UTC
Question

BUG: Text comment annotation not triggering ANNOTATION_ADDED

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 is closed to new replies. Start a new post to keep the conversation going.

    5 replies

    Inspiring
    Oct 24, 2023 6:51 PM UTC

     

    This is the only annotation type not triggering

     

    Translate
    Joel Geraci
    Community Expert
    Community Expert
    Oct 24, 2023 7:36 PM UTC

    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?

    Translate
    Inspiring
    Oct 24, 2023 7:38 PM UTC

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

    Translate