How to embed Mozilla PDF.js to webflow?

I am trying to embed Mozilla lab’s PDF render PDF.js to the website that I’m working on. I noticed that PDF.js includes lots of .js files. So I’m wondering if it’s possible for me to change the code through webflow’s code widget? Or I may have to export the code and make changes later?

Thanks!

1 Like

Hi @html_k, thanks for the question. It is not possible to edit the pdf.js code in Webflow unless you paste it first to the Footer in your custom code tab of site settings: Custom code in head and body tags | Webflow University

If you want, you can also upload the files you need to Dropbox and link to those.

​I hope this helps. If not, please let me know – I’m happy to assist further! :slight_smile:

Cheers,
Dave

1 Like