As soon as I define any valid_elements and/or extended_valid_elements I cannot insert iframe (iframe defined among valid_elements, extended_valid_elements)
All online samples with iframe support and valid_elements are with tinymce v3 and in v3 it works http://fiddle.tinymce.com/cTeaab/2
But in v4 it does not http://jsfiddle.net/armandsp/ug247bsm/
valid_elements : "a[href|target=_blank],strong,u,p,iframe[src|frameborder|style|scrolling|class|width|height|name|align]",
extended_valid_elements : "iframe[src|frameborder|style|scrolling|class|width|height|name|align]"
Its not an issue with valid_elements and/or extended_valid_elements
its a syntax error.
plugins: [
"code",
"media"
]
it should look like the following, plugins separated by spaces
plugins:"code autolink",
http://www.tinymce.com/wiki.php/Configuration:plugins
It doesn't support iframes if you enable media
plugin
example : http://jsfiddle.net/ug247bsm/7/