How to make tinymce work with iframe?
-
04-10-2019 - |
Question
When I input <iframe>
with its HTML Source Editor, it's just filtered.
Is there an option to make it work with <iframe>
?
Solution
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]",
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow