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
- Maintenance status: Actively maintained
- Development status: Under active development
- Module categories: Filters/Editors
- Reported installs: 1039 sites currently report using this module. View usage statistics.
- Last modified: November 8, 2011