When I go to an RTE and put it into the HTML mode and insert an iframe, it doesn't seem to work. It looks like I doidn't paste any content into the HTML. I get ans error message like that when I close the "source edit" to save. I get an error message stating "please fill out this field" evethough I see the iframe content in the source editor...
Anybody tried inserting iframes in the RTE?
Solved! Go to Solution.
As @asutosh_jena mentioned you can use sourceedit option to insert iframe. But please also check WhitespaceProcessor.js, This removes some tags from RTE (It will happen when you switch back from source edit mode to normal) and XSS protection Framework (Will get called when you submit the dialog).
Thanks! As a matter of fact I used the source edit....but when I swiched back to normal, it erased the iframe. That happened also when embedding Twitter links in the RTE. Will share the whitespaceprocessor.js route with the team...