Fork me on GitHub
Current releases are 2.1.5 (31 Oct 2014) and 2.0.18.13 (5 Aug 2014)

Ready for 2.1? Find out if your plugins are compatible. 2.0 will no longer be updated after Dec 2014.

[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.