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. bigfishtools
  2. JCE Editor
  3. Thursday, 22 October 2020
Ryan,

Hope you're good. Having an issue after update 2.8.18 iframe is being remove from the code. I have tried everything on this page: https://www.joomlacontenteditor.net/support/faq/editor/iframe-removed-on-saving and tried other editors (tiny) with exclusion of the iframe and no luck. Thinking joomla issue? I did open another old article with youtube video embedded and it save fine and no code stripped? I can get it to show when adding it with the Media button (see image) in the editor and I'm curious of the "click to activate, CMD + Click toggle placeholder" that pops up? When saved it is stripped. Any help would be great.

Great component
Alton
Attachments (1)
Accepted Answer Pending Moderation
Please post a screenshot of the iframe code you are trying to add that is getting removed.
Just because you're not paranoid doesn't mean everybody isn't out to get you.
  1. more than a month ago
  2. JCE Editor
  3. # 1
Accepted Answer Pending Moderation
Added with media button:
<div style="text-align: center;"><iframe src="https://www.youtube.com/embed/7S7NQjR0We0?rel=1"; width="560" height="315" allowfullscreen="true"></iframe></div>


Added with embed from youtube:
<iframe width="560" height="315" src="https://www.youtube.com/embed/7S7NQjR0We0" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
ends up after save
<div style="text-align: center;"> </div>


Thanks Ryan
  1. more than a month ago
  2. JCE Editor
  3. # 2
Accepted Answer Pending Moderation
Added with embed from youtube:
<iframe width="560" height="315" src="https://www.youtube.com/embed/7S7NQjR0We0" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
ends up after save
<div style="text-align: center;"> </div>


Is this removed when you click the "power" / toggle editor button above the editor toolbar on the left, or only when you click the Joomla Save button.
Just because you're not paranoid doesn't mean everybody isn't out to get you.
  1. more than a month ago
  2. JCE Editor
  3. # 3
Accepted Answer Pending Moderation
No, can toggle back and forth and it remains. In the visual editor I can see the actual video like the image in above post. It has this verbiage in the middle of the video:

"Click to Active, CMD + Click to toggle placeholder" This is horizontal in middle of video, when double clicked it will even play. Toggle editor button it is still there. After saving it is gone.

Thanks Ryan
  1. more than a month ago
  2. JCE Editor
  3. # 4
Accepted Answer Pending Moderation
No, can toggle back and forth and it remains. In the visual editor I can see the actual video like the image in above post. It has this verbiage in the middle of the video:


This suggests that the iframe code is being removed on saving, or when the article is displayed, which is out of the editors control.

If after saving the code is removed, then this is the cause, and you need to check the Joomla Text Filter settings, as described - https://www.joomlacontenteditor.net/support/faq/editor/iframe-removed-on-saving
Just because you're not paranoid doesn't mean everybody isn't out to get you.
  1. more than a month ago
  2. JCE Editor
  3. # 5
Accepted Answer Pending Moderation
Thanks Ryan,

Had it setup No Filtering to start with.

Changed to: Alternatively, in Joomla 3 and Joomla 4, set the Filter Type to Custom Blacklist, and add an edited list of the default Blacklist tags to the Filter Tags field, with script removed, eg:

Changed it back to No filtering it worked?

As always thanks.
  1. more than a month ago
  2. JCE Editor
  3. # 6
Accepted Answer Pending Moderation
Changed to: Alternatively, in Joomla 3 and Joomla 4, set the Filter Type to Custom Blacklist, and add an edited list of the default Blacklist tags to the Filter Tags field, with script removed, eg:


Apologies, I have corrected this. For iframes it should have read:

add an edited list of the default Blacklist tags to the Filter Tags field, with iframe removed
Just because you're not paranoid doesn't mean everybody isn't out to get you.
  1. more than a month ago
  2. JCE Editor
  3. # 7
  • Page :
  • 1


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