WordPress: Stop WordPress visual WYSIWYG editor from removing multiple linebreak in your posts

Your ads will be inserted here by

Easy Plugin for AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

If you want to prevent WordPress from filtering line breaks
and

from a post, then go ahead reading this post ..
In spite of trying various methods such as putting line breaks “
” inside “” tag and many other such HTML tricks (many of which can be easily found at WordPress) just to be able to put multiple intentional line breaks in a post, wordpress would eventually manage to filter those line breaks. Even if the tricks were successfully applied, when it came to re-editing a post, all efforts would go to vain when TinyMCE initiates its own filtering process.

WordPress has a built-in powerful post/text editor commonly known as the “Visual” editor, which uses the open source project named “TinyMCE“. When switching from Visual to HTML editor in WordPress or vice-versa TinyMCE executes a back-end filtration process which removes empty tags, and
tags from the post.

TinyMCE-Advanced from WordPress is a WordPress plugin, which adds the option to disable the removal of

and
tags when saving a post and in the HTML editor. After installing and activating, the option to enable line breaks can be found in the Settings => TinyMCE Advanced panel.

=> Stop removing the

and
tags when saving and show them in the HTML editor

TinyMCE-Advanced_StopRemovin_p_br_tags

TinyMCE-Advanced_StopRemovin_p_br_tags


Aditionally, this plugin adds 16 plugins to TinyMCE, WordPress’ WYSIWYG editor: Advanced hr, Advanced Image, Advanced Link, Context Menu, Emotions (Smilies), Full Screen, IESpell, Layer, Media, Nonbreaking, Print, Search and Replace, Style, Table, Visual Characters and XHTML Extras. Together these plugins can add over 40 new buttons to the toolbar.


TinyMCE_Advanced_Button_Arrangement

TinyMCE_Advanced_Button_Arrangement



Your ads will be inserted here by

Easy Plugin for AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.


Tags

Stop WordPress from removing Linebreak, Linebreaks, Line Break, Line Breaks

Force Line Break in WordPress

Enabling Line Break “
” in WordPress

Linebreak in Posts

Stop remving

tag in WordPress

Line break conversion

Formatting WordPress Posts using Line Breaks

3 thoughts on “WordPress: Stop WordPress visual WYSIWYG editor from removing multiple linebreak in your posts

  1. Thanks for solving a very irritating problem.

    Every time my Clients edited pages/posts they would wipe out all the tags and if I needed to edit behind them I would need to re-add all of them.

    This has been a huge source of irritation and I am elated I found this fix.

    ~Mack

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.