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:
parent
8bf71a58b3
commit
f69a0b1300
1 changed files with 4 additions and 0 deletions
|
|
@ -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));
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue