Support > Administration

Edit article - jodit iframe?

<< < (2/2)

datahell:
So Jodit doesn't like iframes (I also dont like them). I repeat: I advise you not to use iframes, it is an evil tag :o

BTW: I have no problem using iframes in Jodit. So maybe the problem might be the content you add to it. For instance iframes may contain javascript which can cause problems to the editor. Also note that the usage of iframes is extremely risky when the source is a remote site. DONT USE IFRAMES IN THIS CASE! FYI Elxis has a related security configuration for frames called "X-Frame-Options".

Here is an example: You have a form shown in a page. In that page you also have an iframe with source to my site. I put some javascript there that stores the data your customers put in the form like credit card details. I can steal this information easily without anyone noticing it.

kyomar:
Thanks datahell, I fully agree what you are saying about the iframe tag but I still need it and so do many others and it is fully W3C compliant. The source is not remote, it's from my own site (booking inquiry form from a booking software hosted on my site/space). Anyhow as long as Jodit isn't able to handle iframe correctly i cannot updgrade to elxis 5.0 (as many others who need iframe) which is a shame as I would love to upgrade to elxis5. The iframe is correctly coded and has worked flawlessly for many years. I have tried to copy the whole code  (booking form) into the article but that is not as convenient as within an iframe.
I found out that in the settings one could disable iframe according to there own website (https://xdsoft.net/jodit/play.html). Jodit wants us to use there <Jodit> tag like a <div> tag. I don't like if an editor wants to enter it's own code and I cannot control it. It should just suggest it but in the end I should be able to decide. Funny in one article I have the exact same iframe and there the code isn't replaced, it just adds a <br> tag for I don't know what reasons.
Thank you for your help and feedback datehell - I really appreciate it.

Navigation

[0] Message Index

[*] Previous page

Go to full version