I have a page (not a blog post) I need to embed an iframe on (it's to "integrate" an external service's product catalog). I added the iframe code in the raw HTML editor and saved the page. I viewed the page, everything worked.
I went back to the editor and switched from raw HTML to the Visual editor tab, added a line of text, and then remembered I needed to add an attribute to the iframe code. So I switched back to the raw HTML tab.
When I did this, the post is completely empty. Everything I'd entered in the editor in raw HTML or not was stripped out and the post is blank, like I'd just created it new. I had to roll back to a revision to recover it.
So far the solution has been to disable the Visual editor, but I have a non technical partner and that isn't an ideal long term solution.
Is there any way to control this behavior of WordPress? I'm using WordPress 3.1.1
Thanks
page
tag and added anhtml
tag.