WordPress – How to stop the visual editor from filtering out line breaks
admin | Monday, April 26th, 2010 | No Comments »
The visual editor in WordPress is built around the open source TinyMCE editor. By default this editor scrubs out empty paragraph tags <p> and additional line breaks <br>.
This is useful for encouraging clean code but frustrating should anyone actually want any level of control over the layout and text flow of a page.
Finally there is a fix for this through a plugin that expands the functionality of TinyMCE. The plugin is called TinyMCE Advanced and can be sourced out and installed directly from the WordPress administration section. After installing and activating, options can be controlled through ‘Settings’ -> ‘TinyMCE Advanced’ panel.
In addition, this plugin allows many advanced features including incorporating the template’s main CSS into the editor and selecting what editing functions will be allowed.






















