PDF.js Express Version
7.2.2
Detailed description of issue
I am trying to move the signature button from the header tools bar into the header bar. I have tried the same by updating the tool button group as below but no luck. Can you please suggest if there a different way for this?
Expected behaviour
I am trying to remove the ‘Insert’ ribbon element and add the signature buttons directly to the header from the header toolbar section.
Code snippet
.then(instance => {
const docViewer = instance.docViewer;
const annotManager = instance.annotManager;
// call methods from instance, docViewer and annotManager as needed
instance.setFitMode(instance.FitMode.FitWidth);
instance.updateTool('signatureToolGroupButton', { buttonGroup: 'header' });