I have previously created a page with a Shortcode element containing an element which links to a PDF file saved in a public folder in /wp-content/. When I try to edit the page, to add styles I can no longer save the page. The save button keeps circling and just hangs and eventually the page timesout.
I have read that it’s better to use EMBED than OBJECT for a PDF (don’t quote me on that) and do not want to use a plugin for this, although I am aware that not all browsers support the EMBED element. I’m curious though, because it was working before (on Desktop and Mobile). I’m using Chrome browser.
Shortcode example:
<embed src="file.pdf" type="application/pdf" width="100%" height="500px"></embed>
I have also tried using a code element, event Rich Text (Text tab for HTML) but none of these worked.
It does however save when I include the PDF via an iFrame. I know that this is supported more widely, but would prefer not to use iFrames, to have more control over layout/width/height etc. and for resources purposes.
We are on Bricks 1.10.1. I’m not sure if this crept in when we updated, but I see Bricks 1.10.2 is out.
Would appreciate any advice.
Thank you.