Exporting PDF doesn't include iframe screenshot #5287

Open
opened 2026-02-05 09:54:14 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @rokkondic on GitHub (May 20, 2025).

Describe the Bug

Exporting a page as PDF leaves the iframe part blank. We have a map of our facility inserted as an iframe on a page, which is exported periodically as a PDF via API. The text, tables and images are exported fine, but the iframes are left blank.

Steps to Reproduce

  1. Go to any page that includes an iframe
  2. Click export to .pdf
  3. The page is blank where the iframe should be

Expected Behaviour

The PDF should be exported with the iframe as a screenshot, similar to how ti is shown if you print the page (Ctrl + P) in the browser.

Screenshots or Additional Context

No response

Browser Details

API on Windows Server 2022

Exact BookStack Version

v24.05.1

Originally created by @rokkondic on GitHub (May 20, 2025). ### Describe the Bug Exporting a page as PDF leaves the iframe part blank. We have a map of our facility inserted as an iframe on a page, which is exported periodically as a PDF via API. The text, tables and images are exported fine, but the iframes are left blank. ### Steps to Reproduce 1. Go to any page that includes an iframe 2. Click export to .pdf 3. The page is blank where the iframe should be ### Expected Behaviour The PDF should be exported with the iframe as a screenshot, similar to how ti is shown if you print the page (Ctrl + P) in the browser. ### Screenshots or Additional Context _No response_ ### Browser Details API on Windows Server 2022 ### Exact BookStack Version v24.05.1
OVERLORD added the 🐛 Bug label 2026-02-05 09:54:14 +03:00
Author
Owner

@nejcgow commented on GitHub (Jul 9, 2025):

+1

We are also exporting Wiki pages via API that contain iframe content from external systems. It would be greatly appreciated if this issue could be addressed.

@nejcgow commented on GitHub (Jul 9, 2025): +1 We are also exporting Wiki pages via API that contain iframe content from external systems. It would be greatly appreciated if this issue could be addressed.
Author
Owner

@ssddanbrown commented on GitHub (Jul 9, 2025):

@nejcgow It probably won't be any time soon as it would require a bunch of extra complexity, and involves a bunch of considerations for implementation, for a low-demanded feature.

We do try to ensure that pages format well for printing, so you may have luck using your browser's "Print to PDF" functionality.

@ssddanbrown commented on GitHub (Jul 9, 2025): @nejcgow It probably won't be any time soon as it would require a bunch of extra complexity, and involves a bunch of considerations for implementation, for a low-demanded feature. We do try to ensure that pages format well for printing, so you may have luck using your browser's "Print to PDF" functionality.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#5287