So this doesn't seem to be related to TinyMCE specifically. I know there has been posts on this in the past, but this seems different unless I'm missing something.
I'm trying to embed some Google Map code to a page. I'd prefer to keep it out of the default content field, so I setup my PageType to offer a TextField to copy and paste the code.
I've had this working on older versions of SS, but when setting up a new site with 2.4, when I save/publish the page, it only removes the closing <iframe> tag, not the opening tag.
Here is what my page code looks like:
public static $db = array(
'GoogleMap' => 'HTMLText'
Then in getCMSFields()
$fields->addFieldToTab('Root.Content.Main', new TextField('GoogleMap', 'Google Map Code'), 'Content');
Then in my template for the page type, I have $GoogleMap to display the code.
As I mentioned, I have this exact setup working with a different site in SS 2.3
The reason I'm only using a TextField is that I don't need a large TextArea with the TinyMCE editor taking up so much space in the admin panel.
Any ideas on where this is being stripped out?