Which product are you using?
PDF.js Express Viewer
PDF.js Express Version
PDF.js Express Viewer 8.7.4 via NPM
Detailed description of issue
We’re using our license key on app.mega.hr. The root domain for the key is ‘mega.hr’, yet we are still seeing the watermark.
We are using pdftron/pdfjs-express-viewer from NPM.
The code is as follows:
Expected behaviour
Expected behavior would not have the watermark
Does your issue happen with every document, or just one?
All documents.
Code snippet
const WebViewer = (await import(‘@pdftron/pdfjs-express-viewer’)).default
WebViewer({
path: '/libs/pdf-express',
initialDoc: url,
licenseKey: "<Key Removed>",
disabledElements: [
'toggleNotesButton',
'toolsHeader',
'selectToolButton',
'ribbons'
]
}, ele).then(instance => {
dispatch('ready', {
instance
})
}
)
})