1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 15:18:08 +02:00

[Editor] Add the ability to print and save some newly added signatures (bug 1946795)

This commit is contained in:
Calixte Denizet 2025-02-07 16:58:09 +01:00
parent 651d712109
commit 24417a1a0b
6 changed files with 790 additions and 5 deletions

View file

@ -666,7 +666,11 @@ class SignatureManager {
data = this.#extractedSignatureData;
break;
}
this.#currentEditor.addSignature(data, /* heightInPage */ 40);
this.#currentEditor.addSignature(
data,
/* heightInPage */ 40,
this.#description.value
);
if (this.#saveCheckbox.checked) {
// TODO
}