### What’s broken? Hi, original issue [here](https://github.com/suitenumerique/docs/issues/2436). 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) <img width="993" height="587" alt="Image" src="https://github.com/user-attachments/assets/d0b648f3-1ea4-4423-8f8e-5dd8495a5d44" /> PDF export : <img width="685" height="565" alt="Image" src="https://github.com/user-attachments/assets/d15397b2-1f7c-4eea-8269-5f47979a9ae6" /> 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 1. Create a new document 2. Make it so the image is at the end of a page 3. See its aspect ratio changing ### BlockNote version _No response_ ### Environment _No response_ ### Additional context _No response_ ### Contribution - [x] I'd be interested in contributing a fix for this issue ### Sponsor - [ ] I'm a [sponsor](https://www.blocknotejs.org/pricing) and would appreciate if you could look into this sooner than later 💖