You need to sign in to do that
Don't have an account?
![Michael Aigner Michael Aigner](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
jsPDF and Salesforce Lightning Web Component
I'm trying to create a Salesforce Lightning Web Component to create a custom Quote PDF using jsPDF. I mastered to use the external chart.js library with uploading it as a static resource, but when I try to do the same with jsPDF.js I always get a security error "SecureElement does not allow access to charset" while calling jsPDF.
Has anyone an answer to that or an alternative solution to create PDFs with Lightning Web Components?
Thanks, Michael
Has anyone an answer to that or an alternative solution to create PDFs with Lightning Web Components?
Thanks, Michael
Have you tried disabling lightning locker?
Disable Lightning Locker for a Component | Developer Guide (https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/security_ls_disable.htm)