Which product are you using?
PDF.js Express Viewer
PDF.js Express Version
8.7.5
Detailed description of issue
Watermarks are still appearing on all PDF documents despite configuring a license key. The viewer loads and functions correctly, but watermarks remain visible on every document. I’ve confirmed through console logs that the license key is being applied to the configuration, but the watermarks persist.
Expected behaviour
Documents should display without any watermarks when a valid license key is provided. Based on the documentation, watermarks should be removed when using a proper license key.
Does your issue happen with every document, or just one?
This happens with every document I’ve tested.
Link to document
Code snippet
const config = {
licenseKey: 'HEGtJ6cOukwjozV7Pwq3',
path: '/webviewer/lib',
disabledElements: [
'ribbons',
'toggleNotesButton',
'searchButton',
'menuButton',
'downloadButton',
'printButton',
'annotationToolButton'
],
l: 'en'
};
console.log('License Key:', config.licenseKey); // Confirms key is applied
const pdfInstance = await WebViewer(config, viewer.current);
// Load document
if (pdfUrl) {
pdfInstance.loadDocument(pdfUrl);
}
Additional Debug Info:
- WebViewer UI version: 8.7.0
- Core version: 8.7.5
- Full API: false
- Package: @pdftron/pdfjs-express-viewer@8.7.5