but when I get to the part where you enable the tool:
// Enable the tools to edit the PDF content
instance.UI.enableFeatures([instance.Feature.ContentEdit]);
I receive the following typescript error: Property 'Feature' does not exist on type 'WebViewerInstance'.ts(2339)
I am using Webviewer installed via npm, the version is 8.11, according to the guides this should have been available from 8.3, am I missing something in order to activate this feature?
Hi Mark
Happy new year! Since you are using the Webviewer version 8.11. It should work. Is it possible you could share your public repo for me to do more investigation??
Hi Mark
We fixed the type issue for contentEdit. You could use npm i @pdftron/webviewer@8.11.0-20230107 like the latest build for 8.11. There is more source on the latest nightly build in here PDFTron Systems Inc. | Nightly