modular-file-renderer
modular-file-renderer copied to clipboard
[FIX] PDF printing,add allow-modals attribute in iframe
In previewing PDF document, OSF.io use PDF.js and pdf.worker.min.js,to Preview/Print file. and Print button always failed with "iframe sandbox parameter should contain "allow-modals" parameter."
Because In OSF,pdf.worker.min.js called in iframe tag,