开发者

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]",
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜