Erik Koopmans
Erik Koopmans
Hi @lesterjanpearson, it seems to me you either meant: 1. Preventing certain parts of your HTML from appearing in the PDF, in which case @PhilipTKC's answer should work well, or...
Interesting, thanks for the report. Page-breaks are still not perfect, especially when tables are involved...
Hi @AbelVM @foria, things move a bit slowly here, you'll have to bear with me. As I see it there's three possible issues here: 1. Page breaks aren't working for...
Have you tried anything like: ```js html2pdf().set({ pagebreak: {avoid: 'tr'} }); ``` That's specifically telling it to avoid breaking across a table row - the "modes" are only one small...
:) Okay well if you can give me an example I'll put it in the queue of things to fix, a jsFiddle or something would help (you can fork [the...
Hi @Jujeu, thanks for finding that out! I think what you've found is a separate issue from @AbelVM, who I believe is having issues with regular tables, no flex involved....
Ah okay, so flexboxes are relevant for you too! Good to know. For what it's worth, I think there could be table issues even without flexboxes involved, but that will...
Hi, I've attempted a fix just for tables (nothing about flex yet). Give it a try: https://github.com/eKoopmans/html2pdf/tree/bugfix/pagebreak-tables/dist/ I haven't been able to reproduce the table issues yet on my end,...
Hey @parithibang, copying my response from https://github.com/eKoopmans/html2pdf.js/issues/677: > Thanks for the heads up! > > The good news is that the `fromHTML` method reported in CVE-2020-7691 no longer exists in...
Definitely agree with moving babel to devDependencies, as-is it creates a lot of extra baggage for this package.