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

  1. saraheagle
  2. JCE Editor
  3. Tuesday, 06 August 2019
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-solved-iframe-parameters-removed
- 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
Accepted Answer
Accepted Answer Pending Moderation
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.
Just because you're not paranoid doesn't mean everybody isn't out to get you.
Accepted Answer Pending Moderation
Is the attribute being removed when you click on the Code tab, or toggle the editor, or only when you Save?
Just because you're not paranoid doesn't mean everybody isn't out to get you.
  1. 2 weeks ago
  2. JCE Editor
  3. # 1
Accepted Answer Pending Moderation
When I save and when I click on the code/editor tabs to switch between the two
  1. 2 weeks ago
  2. JCE Editor
  3. # 2
Accepted Answer Pending Moderation
Have you set anything in Editor Profiles -> Editor Parameters -> Advanced -> Extended Elements ?
Just because you're not paranoid doesn't mean everybody isn't out to get you.
  1. 2 weeks ago
  2. JCE Editor
  3. # 3
Accepted Answer Pending Moderation
No that is empty
  1. 2 weeks ago
  2. JCE Editor
  3. # 4
Accepted Answer Pending Moderation
This is working fine in my tests. Please send me a login - https://www.joomlacontenteditor.net/contact/site-login
Just because you're not paranoid doesn't mean everybody isn't out to get you.
  1. 2 weeks ago
  2. JCE Editor
  3. # 5
Accepted Answer Pending Moderation
Ahhh! Brilliant, great detective work thanks very much.
  1. one week ago
  2. JCE Editor
  3. # 6
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!