Default Toolbar View

PDF.js Express Version
7.3.1

Detailed description of issue
Is it possible for the default view to show the “Add New Signature” option?
What it looks like now:

What I would like it to look like:

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

Link to document
N/A

Code snippet
This is what I have tried:
instance.disableElements([
‘leftPanelButton’,
‘rubberStampToolGroupButton’,
‘stampToolGroupButton’,
‘fileAttachmentToolGroupButton’,
‘calloutToolGroupButton’,
‘toolbarGroup-Annotate’,
‘toolbarGroup-Shapes’,
‘toolbarGroup-Shapes’,
‘viewControlsButton’,
‘searchButton’,
‘toggleNotesButton’
]);
instance.openElements([‘toolbarGroup-Insert’, ‘signatureToolGroupButton’]);

Thanks!

Hey!

This code should do the trick

  instance.setToolbarGroup('toolbarGroup-Insert')
  instance.setToolMode(instance.Tools.ToolNames.SIGNATURE)

Thanks,
Logan

1 Like

That did it, thanks so much!!

1 Like