What’s broken?
Hi,
original issue here.
It seems that xl-pdf-exporter is trying to fit an image on the end of the page by modifying its aspect ratio instead of just inserting a page break, making the image on pdf export weird sometimes.
Doc example (https://www.blocknotejs.org/demo#jbm5s)
PDF export :
I'll try to see if I can solve it but my skills in PDF and JS are rather limited.
What did you expect to happen?
Image should be pushed to the next page instead of tinkering its aspect ratio
Steps to reproduce
- Create a new document
- Make it so the image is at the end of a page
- See its aspect ratio changing
BlockNote version
No response
Environment
No response
Additional context
No response
Contribution
Sponsor
What’s broken?
Hi,
original issue here.
It seems that xl-pdf-exporter is trying to fit an image on the end of the page by modifying its aspect ratio instead of just inserting a page break, making the image on pdf export weird sometimes.
Doc example (https://www.blocknotejs.org/demo#jbm5s)
PDF export :
I'll try to see if I can solve it but my skills in PDF and JS are rather limited.
What did you expect to happen?
Image should be pushed to the next page instead of tinkering its aspect ratio
Steps to reproduce
BlockNote version
No response
Environment
No response
Additional context
No response
Contribution
Sponsor