mirror of
https://github.com/documenso/documenso
synced 2026-05-24 09:28:27 +00:00
🧹
This commit is contained in:
parent
b178a4ed58
commit
3c6faff401
1 changed files with 2 additions and 2 deletions
|
|
@ -49,10 +49,10 @@ export const addDigitalSignature = async (
|
|||
});
|
||||
const widgetDictRef = pdfDoc.context.register(widgetDict);
|
||||
|
||||
// Add our signature widget to the first page
|
||||
// Add signature widget to the first page
|
||||
pages[0].node.set(PDFName.of("Annots"), pdfDoc.context.obj([widgetDictRef]));
|
||||
|
||||
// Create an AcroForm object containing our signature widget
|
||||
// Create an AcroForm object containing the signature widget
|
||||
pdfDoc.catalog.set(
|
||||
PDFName.of("AcroForm"),
|
||||
pdfDoc.context.obj({
|
||||
|
|
|
|||
Loading…
Reference in a new issue