Copy link to clipboard
I want to use the Annotation feature in Embed API - but I don't want to rely on its "Save" button.
Is there a way to trigger "Save" programmatically?
I tried the enableFocusPolling. Even with enableFocusPolling=true, it takes aroud 2 seconds after the annotation before SAVE_API is triggered.
This means that our fake-Save button does not have the latest copy of the PDF file.
I have created this CodePen to illustrate this point: https://codepen.io/vmit/pen/JjMraxg
If you annotate something and click "Save PDF File" immediately, you don't get the latest changes.
Have something to add?