Open nux1701 opened 12 months ago
Look at and edit added Javascript with PDF-Lib
Ran the following code : pdf.addJavaScript('start', 'console.show(); console.println("hello");');
pdf.addJavaScript('start', 'console.show(); console.println("hello");');
Console showed up with 'hello' message, but Document Javascript dialog in Acrobat Pro lists start as empty, and is not editable.
start
Being able to see the script and edit it in the editor.
1.17.1
Node
No response
What were you trying to do?
Look at and edit added Javascript with PDF-Lib
How did you attempt to do it?
Ran the following code :
pdf.addJavaScript('start', 'console.show(); console.println("hello");');
What actually happened?
Console showed up with 'hello' message, but Document Javascript dialog in Acrobat Pro lists
start
as empty, and is not editable.What did you expect to happen?
Being able to see the script and edit it in the editor.
How can we reproduce the issue?
pdf.addJavaScript('start', 'console.show(); console.println("hello");');
Version
1.17.1
What environment are you running pdf-lib in?
Node
Checklist
Additional Notes
No response