eKoopmans / html2pdf.js

Client-side HTML-to-PDF rendering using pure JS.
MIT License
4.15k stars 1.39k forks source link

Disable page break for a document #484

Open Vasikaran opened 3 years ago

Vasikaran commented 3 years ago

Hi, I using html2pdf for PDF generation. It's pretty awesome. But on our HTML page, we have lots of images. When page break applies, images split out to two different pages. It would be better I could disable page break behaviour for this alone

Screenshot 2021-09-29 at 10 22 58 AM

shamarin commented 3 years ago

Support, the same behaviour in our project with images.