PDF.js Express Version
8.1.0
Detailed description of issue
If I create multiple rectangle annotations over a single pdf then only the first annotation is getting communicated . This was working fine in the previous version(7.3) . Do you think this can be an xfdf issue on your end. Please let me know your feedback on it.
Expected behaviour
If I select more than one table and send xfdf info to server , all selected xfdf should have tag to it having the rect info.
Does your issue happen with every document, or just one?
All documents have this issue.
Link to document
sample_schedule-merged.pdf (797.7 KB)
Code snippet
annotManager.on(
“annotationChanged”,
(annotations, action, { imported }) => {
if (imported) return;
if (action === “add” || action === “modify”) {
this.annotationProcessing = true;
}
annotManager.exportAnnotCommand().then((xfdfString) => {
this.XFDFStr = xfdfString;
this.xmlArr.push(xfdfString);
this.newXfdf = this.xmlArr.join();
// newXfdf is the object we are sending to the backend
});
}
);