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.

#100708 attribute scrolling="no" being removed

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 saraheagle on Monday, 12 August 2019 11:25 BST

saraheagle
Hello - I am having an issue with <iframe>
The attribute scrolling="no" is being removed. The <iframe> itself (id, class & src) is fine and being left in.

I have checked everything on both of these posts and it's not any of those things.
- https://www.joomlacontenteditor.net/support/forum/83312
- https://www.joomlacontenteditor.net/index.php?option=com_content&view=article&id=405&catid=48

I have JCE 2.7.15 & J 3.9.10.
Is there something else I've missed?
Thank very much

Ryan
Is the attribute being removed when you click on the Code tab, or toggle the editor, or only when you Save?

Ryan Demmer

Lead Developer / CEO / CTO

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

saraheagle
When I save and when I click on the code/editor tabs to switch between the two

Ryan
Have you set anything in Editor Profiles -> Editor Parameters -> Advanced -> Extended Elements ?

Ryan Demmer

Lead Developer / CEO / CTO

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

saraheagle
No that is empty

Ryan
This is working fine in my tests. 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.

Ryan
In Editor Profiles -> Editor Parameters -> Cleanup & Output, you have the Doctype option set to HTML5, but the iframe scrolling attribute is no longer supported in HTML5, which is why it is being removed - https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe

You can set the Doctype to Mixed, which will allow you to use obsolete / deprecated HTML4 attributes and tags.

Ryan Demmer

Lead Developer / CEO / CTO

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

saraheagle
Ahhh! Brilliant, great detective work thanks very much.