How to make tinymce work with iframe?
When I input <iframe>
with its 开发者_StackOverflowHTML Source Editor, it's just filtered.
Is there an option to make it work with <iframe>
?
Yes you can do this:
You should read in the documentation about valid elements. You have to add valid elements in your tinymce init, otherwise tinymce will delete those elements:
Add:
extended_valid_elements : "iframe[src|width|height|name|align]",
精彩评论