3 June 2010 at 10:33pm
I found a strange problem with the HTML editor and I wonder of there's a fix or work-around.
When you try to join two paragraphs containing soft line breaks, the first soft-line-break above the join is converted to a paragraph break.
The problem is easy to reproduce: Make a list of words seperated by soft line breaks (Shift+return), but with one paragraph break in the middle. It looks like this:
Then join the two paragraphs together by placing the cursor after 'Three' and pressing the Delete key. The 'Three' and 'Four' lines are joined, but the soft-line-break between 'Two' and 'Three' has been changed to a paragraph break, so it looks like this:
17 June 2010 at 5:03am
Upgrading TinyMCE is non-trivial...
There's a work-around to the bug...
- Place the cursor at the end of the paragraph before the break.
- Select the paragraph break by holding down the shift key and pressing the right cursor key
- Press any character
- Press backspace to delete the character you just typed
- The paragraphs are joined and the soft line break is unchanged.