modular-file-renderer icon indicating copy to clipboard operation
modular-file-renderer copied to clipboard

[FIX] PDF printing,add allow-modals attribute in iframe

Open ebijun opened this issue 5 years ago • 0 comments

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,

ebijun avatar Feb 07 '20 06:02 ebijun