jsPDF multi page PDF with HTML renderer
问题 I am using jsPDF in my site to generate PDFs. But now I have multiple DIVs to print in a single PDF. which may take 2 to 3 pages. For example: <div id=\"part1\"> content </div> <div id=\"part2\"> content </div> <div id=\"part2\"> content </div> my JS code This works but not as I expected, It add a part of the content(which cannot be included in more than one page). It removes html tags like br, h1 etc. function formtoPDF() { jsPDF.API.mymethod = function() { // \'this\' will be ref to