Save PDF without Annotations Using JavaScript
You can save a document without annotations using the excludeAnnotations
API:
PSPDFKit.load(configuration).then(async (instance) => { const arrayBuffer = await instance.exportPDF({ excludeAnnotations: true }); });