I'm building my own component, and trying to insert a youtube embed url in a tinymce editor field. However, the editor keeps removing the iframe tags from the text.
I followed the recommended settings, by removing 'iframe' from the tinymce plugin 'prohibited elements' setting.
In my component fields xml, a field for the editor is created:
<field name="biography" type="editor" filter="raw" label="LABEL_HERE" description="DESC_HERE" hint="PLACEHOLDER_HERE"/>
The filter type is raw, and the type is editor.
I'm logged in as the 'super user', and have the global configuration text filtering for super users on 'no filtering'.
I hope that i'm missing something, it keeps me busy for several hours now. Kind of frustrating :D
print_r
your entire post before your component starts filtering, maybe in the root constructor to see if it still contains the iframe? This way we can see if your component is the problem or the editor.iframe
.