Is there a way remove the ‘Redact’ button without removing the toolbar itself?
The reason why i’d like this is because I want to add a new button to the toolbar but get rid of the ‘Redact’ button.
Thanks
Is there a way remove the ‘Redact’ button without removing the toolbar itself?
The reason why i’d like this is because I want to add a new button to the toolbar but get rid of the ‘Redact’ button.
Thanks
We will put this on our list - no reason not to easily add this API I think. Will keep you updated.
@39rc Please update to the latest version on NPM 0.12.1 and use ANNOTATION_REDACTION to hide this button - see: References - MuPDF WebViewer .. Note: We may rename this to TOOLBAR_REDACTION at some point as I believe the naming here is confusing! However, in the meantime please just use this ref
@39rc My bad, I had just misunderstood things here - the reference is (and always was)TOOLBAR_REDACTIONin version 0.12.1. Please use TOOLBAR_REDACTION, I have also updated the docs!