Wysiwyg Linebreaks

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.

The module was originally used by the Archdiocese of St. Louis' Drupal 6 website to assist in rendering HTML correctly after having imported the content from a variety of older websites, when the content was created with and without proper HTML markup structure. Sometimes linebreaks would be used to denote paragraphs, other times the <p> tag would be used. This module normalized the content before it was displayed in TinyMCE for editing, so the content would always render with line breaks and paragraphs in the proper place.

I transformed the patch we were using to the Wysiwyg module into a full Drupal module that integrated with Wysiwyg, and ported the module to Drupal 7. It is in use by over a thousand Drupal sites, and has seen many improvements in the past year.

Highlights: 
  • Assists with content editing in tandem with popular Wysiwyg module.
  • Module used by over a thousand Drupal sites.
  • Module maintained for both Drupal 6 and Drupal 7.