Tags: tinymce, editor, html, element
Requires at least: 2.5
Tested up to: 2.7.1
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!
- Upload the
tinymce_valid_elements/directory and its contents to the
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Go to Manage -> TinyMCE Valid Elements and add some elements and attributes.
Read the Help Section at the bottom of the management page.
Frequently Asked Questions
I added new elements/attributes, why is TinyMCE still stripping it out?