Hello all,
Using Revo 2.2.14
I am having a problem with the editor when inserting code containing the <object> call to insert a pdf file in a page.
Inserting the following code into the content of a Resource with the WYSIWYG editor turned off:
<p><object width="100%" height="750px" data="assets/resources/committee/myfile.pdf" type="application/pdf"><param name="src" value="assets/resources/committee/myfile.pdf" /><p>
and saving, the code works perfectly, displaying the pdf as expected.
However, if I return to the WYSIWYG editor to view and then toggle back to the code view (making no changes), I find that the code has been changed - as below:
<p><object width="100%" height="750px" data="assets/resources/committee/myfile.pdf" type="application/x-shockwave-flash"><param name="src" value="assets/resources/committee/myfile.pdf" /><p>
Note that
has been changed to
type="application/x-shockwave-flash"
If this altered code is saved the pdf file will not be displayed.
Why does the editor change the code with absolutely no input from me?
Thanks
[ed. note: bobd72 last edited this post 9 years, 10 months ago.]