I'm just wondering how i can go about and remove that ability from all editors?
I have tried using the "invalid_elements" option within the settings of our TinyMCE initialization but it doesn't seem to work as it still allows me to paste in a YouTube video from one site into our site, so not sure if i am missing something or not.
Have you tried valid_children attribute something like below? The "-" removes iframe as a valid child element from the editor.
Thanks Aniket for you assistance, I did try that but for some reason it still didn't work, not sure why :/
What ended up working though is that i used the same code as before but realizing that I was including attributes which, as the TinyMCE documentation stated, were not permitted for the "invalid_elements" issue.
Redoing the code this way resolved the issue: