wamp
wamp

Reputation: 5969

How to make tinymce work with iframe?

When I input <iframe> with its HTML Source Editor, it's just filtered.

Is there an option to make it work with <iframe>?

Upvotes: 1

Views: 1461

Answers (1)

Todd Moses
Todd Moses

Reputation: 11039

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

Upvotes: 1

Related Questions