pdfAnnotate
pdfAnnotate copied to clipboard
Delete Annotation is not working
I am trying to delete an annotation. I get all the annotations from getAnnotations(), select the most recent one by getAnnotations().pop() and passing the obj_id of that annotation to deleteAnnotation(obj_id). However, the promise never returns anything, neither a success nor it rejects. It always remains in the pending state. How can I resolve this?