This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

TinyMCE Valid Elements

Description

By default, WordPress’ WYSIWYG editor, TinyMCE, will strip out of your Article and Page HTML code any
elements that are not defined as “valid elements”; this can be extremely annoying (especially if
you want to include iframes).

This plugin will allow you to extend what TinyMCE defines as “valid elements”. By doing so,
TinyMCE will no longer remove, delete, or strip-out the additional elements and attributes
that you specify.

** NOTE: Make sure after you add elements or attributes you do a hard refresh (ctrl + F5) of
your browser on a _TinyMCE screen *(editing or creating a page/post)* so that the TinyMCE cache
will be refreshed! You will not see your changes until you do this!

Screenshots

  • Plugin screenshot. Make sure to read the Help at the bottom of the page after installation!

FAQ

I added new elements/attributes, why is TinyMCE still stripping it out?

Most likely, you need to do a hard refresh of your browser (ctrl + F5). Your JavaScript cache needs to be
refreshed.

Contributors & Developers

TinyMCE Valid Elements is open source software. The following people have contributed to this plugin.

Contributors

Translate TinyMCE Valid Elements into your language.

Interested in development?

Browse the code or subscribe to the development log by RSS.