Fork me on GitHub
Current release is 2.1.6 (21 Nov 2014).

Users who have not yet upgraded to 2.1 should get security release 2.0.18.14 (1 Nov 2014). We will stop providing these security releases to 2.0 at the end of this year.

[CLEditor jQuery WYSIWYG addon] IE uses paragraph tags, firefox uses br tags

edited February 2011 in Vanilla 2.0 Help
This discussion is related to the CLEditor jQuery WYSIWYG addon.
I just noticed that IE is converting converting new lines to <p></p> whereas firefox is using <br /> tags for new lines.

IE post: This uses <p></p>
Firefox post: This uses <br />

In the first example with the p tags, it's placing new lines between the <p></p> tags, so when it finally gets to the output stage and renders, it's ALSO running the nl2br() function...giving me extra <br /> tags between paragraphs.

Javascript is my kryptonite...so unfortunately, looking @ the cleditor js only makes my eyes glaze over. But is there any way to have the same behavior with all browsers? Ideally, I'd prefer all <p></p> tags...but only if it doesn't also run nl2br between paragraphs on output.

Comments

Sign In or Register to comment.