Include JS in a template node (nodered)

Hello, i have written a template node ( to add a download button that create a pdf with some elements of the html page) which uses: 

<script src="https://html2canvas.hertzen.com/dist/html2canvas.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/2.3.1/jspdf.umd.min.js"></script>

It is working but now i would like to adapt it to be able to work also offline, however i am not succeding in it, i tried both to copy and paste the whole .js of the two links inside <script> ... </script> and to download the .js file and access them with the local path but both didn't work, thanks you 

Best reply by webiq-sk
View original
2 replies