WYSIWYG Force Linebreaks - Don't mess up your text!

Wysiwyg Linebreaks allows users of wysiwyg editors (such as TinyMCE or CKEditor) to save and open markup from their website with linebreaks instead of <p> and <br /> tags.

You can choose between two different plugins/buttons:

  • Convert linebreaks: Your legacy content will appear correctly in your WYSIWYG editor, then the content will be saved with markup).
  • Force linebreaks: Your content will always preserve whitespace/linebreaks around blocks of text, rather than paragraph and break tags.

The second option is useful for sites where you would like to edit content both with and without wysiwyg editors.

Basically, you can edit content that was originally created without a wysiwyg editor (for instance, simply using Drupal's Filtered HTML format, a user may hit enter twice to create a new paragraph—no <p> tag wraps the block of text in this case), without having to deal with the headache of reformatting everything inside the wysiwyg editor.

Dependencies

This module requires the Wysiwyg module to do anything useful. It does not work with the standalone CKEditor or FCKEditor module, but works with those editors through the Wysiwyg module.

Installation

Install like you would any other module. To enable this plugin, you need to edit one of your wysiwyg profiles and check the 'Force linebreaks' option under "Buttons and plugins."

Module created by Jeff Geerling of Midwestern Mac, LLC.

Project Information

Downloads

Recommended releases

Version Downloads Date Links
7.x-1.4 tar.gz (10.51 KB) | zip (14.99 KB) 2012-Jan-12 Notes
6.x-1.4 tar.gz (10.53 KB) | zip (15.03 KB) 2012-Jan-12 Notes

Development releases

Version Downloads Date Links
7.x-1.x-dev tar.gz (10.51 KB) | zip (15 KB) 2012-Jan-12 Notes
6.x-1.x-dev tar.gz (10.54 KB) | zip (15.03 KB) 2012-Jan-12 Notes

Maintainers for Wysiwyg Linebreaks

  • geerlingguy - 19 commits
    last: 6 weeks ago, first: 1 year ago

Issues for Wysiwyg Linebreaks

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Oldest open issue: 31 Jan 11