How to change the default text in FreeTextAnnotation

PDF.js Express Version
7.3.3

Detailed description of issue
I want to change the default text/content in FreeTextAnnotation to “First Name”, currently it shows “Insert text here”.

Expected behaviour

Does your issue happen with every document, or just one?

Link to document

Code snippet

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:APIs:Forums:

1 Like