Hi
I am trying to add a Google maps link which uses an iframe in the html but it appears that the TinyMCE is removing it.
Any way round this?
Using version 1.5.2
Thanks, Steve
[SOLVED] iframe being stripped out by TinyMCE
[SOLVED] iframe being stripped out by TinyMCE
Last edited by stevegos on Thu Feb 05, 2009 5:35 pm, edited 1 time in total.
Re: iframe being stripped out by TinyMCE
I had the same problem but I found a solution here in forum a couple of minutes ago literally 
Read here:
http://forum.cmsmadesimple.org/index.ph ... 991.0.html

Read here:
http://forum.cmsmadesimple.org/index.ph ... 991.0.html
That worked for me.twen88 wrote: go to TinyMCE WYSIWYG admin, click on the "advanced" button, add this to the option "extra configuration":
extended_valid_elements : "iframe[marginheight|id|frameborder|scrolling|align|marginwidth|name|id|src|height|width|]"
and see if the TInyMce will stop removing the iframe tag
Re: iframe being stripped out by TinyMCE
Thanks for that. In my case its stops the WYSIWYG editor working. Strange!
Reset Tiny back to defaults and the WYSIWYG is back!!!
Any more ideas anyone?
Thanks.
Reset Tiny back to defaults and the WYSIWYG is back!!!
Any more ideas anyone?
Thanks.
Re: iframe being stripped out by TinyMCE
Probably the is stripping....
I normally put logic in GCB, where I UNCHECK the "allow wysiwyg in Global Settings"...
Insert the logic in the GCB, without a wysiwyg, and call the GCB in the page.
Ronny
I normally put logic in GCB, where I UNCHECK the "allow wysiwyg in Global Settings"...
Insert the logic in the GCB, without a wysiwyg, and call the GCB in the page.
Ronny
Re: iframe being stripped out by TinyMCE
Thanks RonnyK. That worked, but still would have been good to have it work with TinyMCE.
Steve
Steve
-
- New Member
- Posts: 5
- Joined: Fri May 14, 2010 11:58 am
- Location: London, UK
Re: [SOLVED] iframe being stripped out by TinyMCE
Hi,
Having just read the posts above - I have added the settings to Extra Configuration and to get it to work removed any line breaks in what I pasted and it works sweet.
This has then enabled our clients to add Vimeo and YouTube videos to pages without TinyMCE stripping the iFrame.
Cheers,
Phil.
Having just read the posts above - I have added the settings to Extra Configuration and to get it to work removed any line breaks in what I pasted and it works sweet.
This has then enabled our clients to add Vimeo and YouTube videos to pages without TinyMCE stripping the iFrame.
Cheers,
Phil.