ts-pdf icon indicating copy to clipboard operation
ts-pdf copied to clipboard

Do Not Export Deleted Annotations

Open jacobdavis1 opened this issue 1 year ago • 0 comments

This push changes one line of document-service's serializeAnnotationsAsync function. Previously this function only checked if the Annotation was recently added if necessary. This means that as published, all annotations are exported, even deleted ones, with no way to tell from the exported content what was deleted.

The line change makes it also check if the AnnotationDict's deleted field is set to false as well before exporting it.

jacobdavis1 avatar Sep 05 '24 15:09 jacobdavis1