As a workaround to using TinyMCE to embed a PDF document, change the editor to CodeMirror and use the following:
assuming you want to embed the PDF document named images/mPDF.pdf. Tested with J 5.1.1 and Firefox.
This is an unsatisfactory solution in my opinion to work around the problem currently in Joomla 5.1 with its upgraded TinyMCE.
Code:
<object data="images/myPDF.pdf" type="application/pdf" width="800" height="600"> You don't have a pdf plugin, but you can <a download="" href="images/mPDF.pdf"> download the pdf file.</a></object>
This is an unsatisfactory solution in my opinion to work around the problem currently in Joomla 5.1 with its upgraded TinyMCE.
Statistics: Posted by mtgg — Fri May 31, 2024 9:37 pm