3 ms·
Better yet, embed the PDF in an inline iframe so text can be copied, highlighted, etc.
by seancoleman 8y ago
Better yet, embed the PDF in an inline iframe so text can be copied, highlighted, etc.
- akharris 8y agoA downloadable version of the doc is linked directly above the image. That does the job nicely, since it allows you to immediately edit.
- sunsetMurk 8y agonewer browsers can actually just embed PDFs natively[0] in an iFrame, but there are more fault-tolerant ways to do it that provide a better ux. Cool note, Google Drive provides an embed code for PDFs[1] which I've found to be useful. Filestack also provides a great API for viewing PDFs in apps/browsers[2] that I use all the time. 0- https://pdfobject.com/static/ https://pdfobject.com/static/ 1- https://alicekeeler.com/2016/06/05/google-drive-embed-pdf/ https://alicekeeler.com/2016/06/05/google-drive-embed-pdf/ 2- https://www.filestack.com/docs/concepts/transform/#document-viewer https://www.filestack.com/docs/concepts/transform/#document-...