Merge pull request #20233 from calixteman/dont_add_image_stamp_update

[Editor] Don't save the image when updating a stamp annotation
This commit is contained in:
calixteman 2025-09-04 22:19:36 +02:00 committed by GitHub
commit 7b87c220a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -879,8 +879,10 @@ class StampEditor extends AnnotationEditor {
serialized.accessibilityData.structParent =
this._initialData.structParent ?? -1;
}
serialized.id = this.annotationElementId;
delete serialized.bitmapId;
return serialized;
}
serialized.id = this.annotationElementId;
if (context === null) {
return serialized;