PDF Export - Placeholders are not interpreted properly
Preflight Checklist
- [x] I agree to follow the Code of Conduct that this project adheres to.
- [x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.
Describe the bug The following placeholders are not interpreted properly after export to pdf: %page%, %pagenumber%. All exported pages have the same name and the same page number.
To Reproduce Steps to reproduce the behavior:
- Add placeholder to diagram
- Click on File → Export → PDF
- Open PDF and check
Expected behavior I expect the placeholders to be interpreted for each page specifically. So that I can have a proper page numbering and individual names for all pages.
draw.io version:
- draw.io version 26.0.9
Desktop:
- OS: Windows 11
- Browser Firefox
- Browser Version 134.0.2
I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:
- Yes
We have the same problem, same ticket as #4710 Thanks for taking the time for this issue report!
If I follow steps as described it works. What does not work is if the placeholder is on a background page - see my post https://github.com/jgraph/drawio/issues/4851
The original problem with placeholders directly on page, which is what you seem to be describing, was fixed (see https://github.com/jgraph/drawio/issues/548)