1
0
Fork 0
mirror of https://github.com/24eme/signaturepdf synced 2026-03-14 13:55:44 +01:00

attachment on enregistre pas les infos des xml dans les metadonnées

This commit is contained in:
Gabriel Poma 2025-07-01 15:32:35 +02:00
commit f69a0b1300

View file

@ -242,6 +242,10 @@ async function save() {
const label = el.querySelector('label').innerText
const input = el.querySelector('input').value
if ('fromAttachment' in el.querySelector('input').dataset) {
return;
}
pdf.getInfoDict().set(PDFName.of(label), PDFHexString.fromText(input));
});