jsPDF
                                
                                 jsPDF copied to clipboard
                                
                                    jsPDF copied to clipboard
                            
                            
                            
                        html: support CSS page-break-after: avoid
When I export to PDF, I get long table tables. I need it to not break after thead and tbody > tr:first-child. I wrote it like this:
table thead, table tbody > tr:first-child { page-break-after: avoid; }
but it doesn't work. Can you give me some advice?
 

I don't think that's possible ATM. It would also be hard to implement in jsPDF.
You might split your HTML beforehand and call html() multiple times.
I don't think that's possible ATM. It would also be hard to implement in jsPDF.
You might split your HTML beforehand and call html() multiple times.
How could this be done?
For example, having a list of divs and each div being a page
@HackbrettXXX