0

I'm using react-pdf + pdf.js to display pdfs in my app. Everything is working great, but I'm facing a problem I don't know how to solve.

Is it possible to enable scripting inside react-pdf? Users are filling documents through my app; sometimes javascript links fields or alerts users from wrong validations.

The original pdf.js viewer lets javascript work inside its own sandbox. Is it possible to do it within react-pdf?

I'm expecting to display a pdf with JS enabled.

0 Answers0