You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#117344 iframe are removed from the code in some articles but not in all

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by Ryan on Wednesday, 24 September 2025 10:30 BST

aegt

The iframes are removed from the code in some articles but not in all. I don't understand why. The Media setup ist correct like here https://www.joomlacontenteditor.net/support/faq/editor/iframe-content-not-displaying and the Sandbox-Mode is off. But still the iframes will be removed from the code in new Articles in the moment i hit "save". But in old articles the code ist still there. How can that be and how can I fix it?

Thank you

Ryan

First please install JCE Pro 2.9.94 RC - https://www.joomlacontenteditor.net/downloads/editor/pro/development

Does this make any difference?

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Ryan

Otherwise, please send me a login - https://www.joomlacontenteditor.net/contact/site-login

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

aegt

Hi Ryan, thank you for your feedback and sorry for the late reply. I've installed the beta (JCE Pro 2.9.94 RC) like you suggested, but unfortunately the problem persists. I also checked the global configuration (text filter) again. Everything as recommended. But I think I've identified the problem. Our iframe is inside a <template> tag, as we only add YouTube videos to our website using a two-click solution. Do you have a solution or an idea for this? The <template> tag doesn't disappear after saving, only the <iframe> within it.

If I put the <iframe> alone in the Code-Editor or in a <div> for example, it works. 

Ryan

The <template> tag is not currently supported, and I will look into adding it, but it looks to be a bit more complicated than just adding it to the schema.

For a click-to-play solution, Responsify will enable this for Youtube iframes, as well as making them responsive, and full-width if required - https://www.joomlacontenteditor.net/downloads/plugins/joomla/responsify

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

aegt

Hello Ryan,

thank you again for your reply. I am sorry to hear, that this will be a bit more complicated. But maybe this information helps you: 

It did stop working only after installing the latest version JCE Pro 2.9.70 with the new sandbox feature. The Months before, it worked just fine within the <template>.

Kind regards

Ryan

It did stop working only after installing the latest version JCE Pro 2.9.70 with the new sandbox feature. The Months before, it worked just fine within the <template>.

I am not able to reproduce this in JCE Pro 2.9.63 (the release before 2.9.70)

If I add a Youtube video inside a <template> tag, the template tag gets converted to a <p>

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Ryan

I have fixed this in JCE Pro 2.9.94 - https://www.joomlacontenteditor.net/downloads/editor/pro/latest - adding back partial support for the template element. This will only work if the Validate HTML option is set to No in the Editor Global Configuration, which is how I assume you had it previously.

I will add full support for the <template> element after further testing, as there are some security concerns with allowing this element.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.