NicEdit Linebreak Issue – How to fix it

... veröffentlicht: 2008-02-12

NicEdit - Micro Inline WYSIWYGA lot of bloggers decided to use NicEdit to give their commentors a WYSIWYG editor to style the comment if needed.

NicEdit is a very slim JavaScript WYSIWYG editor which works break, except that some of us bloggers, like Matt at Webmaster-Source, Michael at ProBlogDesign or I myself, experience an odd error when it comes to simple linebreaks inserted by the editor itself.

If you use <br /> on your own, it will work properly. But who uses it if he or she has such a nice editor?

About a month ago I posted the issue on the NicEdit forum and got a reply which told me how to fix it. The author’s forum name of this fix is ihsan and I asked him for his ok about publishing the fix on my blog.

So far he did not reply, so I just go ahead and share it. Full credit for this fix goes to ihsan:
weiter…