Stop WordPress Visual Editor From Deleting Formatting

This problem occurs when you paste some some HTML or provided code from a source like EventBrite while using the text editor tab, and then switch the tab to visual editing.  The code you just put in will be stripped!  Very annoying.  There are two solutions.

Save with Text Editor Open

screenshot-1Don’t switch back to the WordPress visual editor – instead save the post with the text editor activated.  This will save your code as-is, but you’ll need to remember to always save that page or post without switching to the visual editor.

Use a Plugin

The Disable Visual Editor WYSIWYG plugin will let you disable the WordPress visual editor on a page by page basis.  So on pages where you have code you don’t want stripped, just activate the plugin and you’ll never have to worry about losing your code!

Please log in to rate this.
0 people found this helpful.

Category: WordPress - General
Tags: ,

← Faqs
Diane Ensey
Follow me

Diane Ensey

Programming Diva and CEO at Beyond Paper
For more than 10 years I've been making websites work for clients world-wide using WordPress, Google Maps, forms and custom applications. You can see my work portfolio and case studies at Beyond Paper.
Diane Ensey
Follow me