Here we go again. Last week I noted my iframe google drive video all disappeared when I upgraded to 1.17. I reported it, you responded. I tried re-upgrading several times and one time the iframes returned so I closed the issue. Then I tried to clone to "test" in my Pantheon site and the iframes didn't transfer across. I said nothing. This AM when 1.18 popped on to the screen, I tried the update and the iframe videos all disappeard again on my dev site- and I had done nothing else in between.
This is extra disconcerting because Pantheon backups dump out all my css injector module theming instructions and I have to put them in again each time!

So I am afraid I again must say, HELP! There is something wrong in 1.17 and 1.18. I am just using google embed codes in the body in html mode of a simple content node.

CommentFileSizeAuthor
#6 Selection_021.png44.59 KBdsnopek
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dsnopek’s picture

Category: Bug report » Support request
Related issues: +#2434889: IFrames Disappear in version 1.17

Hm. There really isn't anything in the code for 1.17 or 1.18 that I think could cause this! I just looked through the code diff between 1.16 and 1.17 and the changes are super minor and don't touch anything with regard to the text formats.

It actually sounds like it might be a Pantheon problem, especially because you're already having an issue where a Pantheon operation is clearing out some of your data... It might be worthwhile to contact their support as well just in case?

However, let's start with the basics!

So, the iframes are not there when viewing the node. But when you edit the piece of content, do you see the iframe code in the editor? I'm just trying to establish if the code is actually being removed from the database, or if it's somehow getting filtered when the content is being displayed.

Also, what text format are you using? Panopoly ships with "HTML", "WYSIWYG" and "Plain text". None of those will allow you to use iframes (although, this isn't a recent change - I think it was always this way). You'd have to create a new text format (like "Full HTML" or something like that) which doesn't filter out iframes and use that.

You can create and edit text formats at /admin/config/content/formats on your site.

Please let me know! Thanks!

dsnopek’s picture

Status: Active » Postponed (maintainer needs more info)
frogrock’s picture

in edit mode the code is all there
I have for many months just used the Pantheon "html" mode and it worked fine and your earlier upgrades worked fine and the videos showed up w/o problem

Pantheon has a know bug with respect to css injector, they just don't think its important enough to fix.

I will take your suggestion and create a full html mode format and let you know.

frogrock’s picture

Status: Postponed (maintainer needs more info) » Active

did not find any reference to iframe in the config/text area. In reviewing the pantheon html setting didn't see any restriction of iframe. And that Pantheon setting has worked fine for 6 months.
don't know what to try next

frogrock’s picture

OK- I figured out your suggestion, executed it and it now looks like I can at least manually bring the iframes back. We will see if they transfer to to test mode when I clone the site. thanks

dsnopek’s picture

Issue summary: View changes
FileSize
44.59 KB

In reviewing the pantheon html setting didn't see any restriction of iframe.

The Panopoly HTML text format uses the WYSIWYG Filter which doesn't allow iframe's at all - there is no configuration you can change to allow them (other than disabling it).

There is a message that says this under "Additional notes" if you edit the HTML format (at /admin/config/content/formats/panopoly_html_text):

OK- I figured out your suggestion, executed it and it now looks like I can at least manually bring the iframes back. We will see if they transfer to to test mode when I clone the site. thanks

Awesome! Once you're sure that this working, please change the Status to "Fixed". Thanks!

dsnopek’s picture

Status: Active » Fixed

Since this has been a week without an update, I'm going to close it. Please feel free to re-open later if you need more help!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.