For my own edification, it would be nice if this module would also preserve linebreaks between styled paragraphs.
For instance, if I center-align a paragraph, the code that results should show as this:
Example first paragraph, which is a normal paragraph with no styling.
<p style="text-align: center;">This paragraph was centered in TinyMCE, so it has a style attribute.</p>
A third paragraph, again without styling.
However, with WYSIWYG Force Linebreaks installed, the code turns into:
Example first paragraph, which is a normal paragraph with no styling.
<p style="text-align: center;">This paragraph was centered in TinyMCE, so it has a style attribute.</p>
A third paragraph, again without styling.
It'd be great if that second paragraph's spacing would be preserved. This issue doesn't affect anything besides my OCD-tendencies, but it'd be nice to have nonetheless.
Comments
Comment #1
geerlingguy commentedHeh... I'm seconding my own request here. Just ran into a page where almost every other paragraph is styled, and it's annoying as heck.
Comment #2
geerlingguy commentedUsed attached patch to fix (just added newlines before and after special paragraphs when they were placed).
Commits:
Comment #3
geerlingguy commentedThis time, I'm actually attaching the patch.