Details
-
Bug
-
Resolution: Fixed
-
Major
-
14.2-rc-1
-
None
-
Medium
-
N/A
-
N/A
-
Description
Macros such as Chart.js Integration are using the HTML Canvas element for drawings. The drawings appear fine in view mode but when the page is exported to PDF (client side) they disappear.
The canvas elements become blank because they are moved around in the DOM tree by paged.js when it layouts the pages for print. Detaching a canvas element from DOM clears its content so re-attaching it to the DOM leads to a blank canvas.
Attachments
Issue Links
- is related to
-
CHARTJS-34 The charts are not fully loaded when exported to PDF
- Closed
-
XWIKI-19625 Canvas elements are not displayed in PDF export on Chrome and Edge
- Closed
- links to