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.

#107686 iFrame Embed code being altered upon save

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 sandstorm871 on Tuesday, 04 May 2021 17:10 BST

sandstorm871
I know this is most likely a setting I've missed somewhere :( In Editor Profiles > Editor Parameters, Validate HTML is set to Inherit - Where in Joomla Config this is set to 'No Filtering' for Super Users (Me). However, when I add an iFrame, the styling is changing the width from 100% to 100

style="border:none;width:100%;height:650px;"
to

style="border: none;" width="100" height="650"
Please could you nudge me in the right direction to stop this from happening? Thanks Andy

Ryan
Please try JCE Pro 2.9.7 Beta 5 - https://www.joomlacontenteditor.net/downloads/editor/pro/development

Ryan Demmer

Lead Developer / CEO / CTO

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

sandstorm871
Thanks, I downloaded 2.9.7 Beta 6 today, installed, cleared all caches and still have the same issue. When I add this iframe

<iframe allowfullscreen="true" style="border:none;width:100%;height:600px;" src="https://www.joomlacontenteditor.net/myiframelink"></iframe>
it changes to

<p><iframe src="https://www.joomlacontenteditor.net/myiframelink" width="100" height="600" style="border: none;" allowfullscreen="allowfullscreen"></iframe></p>

Ryan
In all my tests I'm getting:

<p><iframe src="https://www.joomlacontenteditor.net/myiframelink" style="border: none; width: 100%; height: 600px;" allowfullscreen="allowfullscreen"></iframe></p>
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.

sandstorm871
Sent. Ive tested this on 2 separate sites with same issue.
But that doesnt mean that I dont have 2 sites with incorrect settings 😛

sandstorm871
Look at the last article named 'test'

Ryan
It's working fine for me on your site...

https://cdn.joomlacontenteditor.net/tmp/107686-iframe-embed-code-being-altered-upon-save.gif

Ryan Demmer

Lead Developer / CEO / CTO

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

sandstorm871
How Bizzarre?
I only actually noticed this issue, as it was reported to me by one of the website admins, so not specific to me - different location/computer/internet?
Also, I have only tested this with Firefox myself, so will check other browsers and also check what browser the admin who reported thsi to me was using.

Ryan
I'm almost certain it's a browser cache issue, so checking this with a different browser would confirm that.

Ryan Demmer

Lead Developer / CEO / CTO

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

sandstorm871
Tested on Safari > OK
Tested on my version of Firefox after clearing 100% of cache > OK

Thanks, will my get admin to check the same and apologies for wasting your time.