Hello all. I would like to create a PDF document using HTML code with the javascript component of Pragmaflow.
I have put the code as HTML into the webview component of Pragmaflow, but can’t get the script to work for the arbitiary component. Does anyone have an idea for a script that works?
return encodeURIComponent('<html>
<head><script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/1.3.5/jspdf.debug.js"></script></head> <body> <script>
function createPDF() {
var doc = new jsPDF()
doc.text('', 10, 10)
doc.save('sample.pdf')}
createPDF()
</script>
</body> </html>')
That don’t work