Version 10.2.3 Changelog (2023-06-26)

Beta WebViewer as a Web Component

Starting in 10.2 you will have the option to instantiate WebViewer as a Web Component instead of an Iframe. Not all features may be supported at this time, but we recommend you start testing your application with the Web Component to ensure a smooth transition when we deprecate the iframe constructor in a future release.

To try out the Web Component all you need to do is switch your WebViewer constructor:

sh

1import WebViewer from '@pdftron/webviewer'
2
3WebViewer.WebComponent({
4 path: '/public/webviewer',
5 licenseKey: 'YOUR_LICENSE_KEY',
6}, document.getElementById('viewer'))
7 ..........

For more information on Web Components and their advantages over Iframes please refer to this guide.

WebViewer Core

Fixes

  • Fixed issue with Content Edit mode not cleaning up events listeners properly, leading to issues when trying to edit the PDF.
  • Fixed issue where Redo text deletion leaves cursor to the left of inserted text
  • Fixed issue where the undo/redo in Content Edit mode throws an error when a content box is added
  • Fixed issues like the errors about the doc variable being null and the content edit box not working on double click

WebViewer UI

Fixes

  • Fixed issue where annotations are not visible when documents are in compare mode

Did you find this helpful?

Trial setup questions?

Ask experts on Discord

Need other help?

Contact Support

Pricing or product questions?

Contact Sales