How to correctly export a div to pdf with html2canvas

1

I am using html2canvas together with the pdfmake library to export div as images but I constantly get an error:

  

Uncaught Unrecognized document structure: {"_margin": null}

The code that I have for this part I leave in the fiddle because it is very long:

link

I'm not sure if I'm dealing with the code because I've already given it a thousand laps. I appreciate any help or attempt of it. Thanks!

    
asked by DavidG 04.09.2018 в 14:16
source

0 answers