TinyMCE editor - line breaks not correct

Posted by Kordonme on Stack Overflow See other posts from Stack Overflow or by Kordonme
Published on 2009-12-28T12:53:15Z Indexed on 2010/04/14 15:22 UTC
Read the original article Hit count: 281

Filed under:
|
|
|

Hoping there's some TinyMCE guys in here ready to help. I'm using the BBCode plugin.

I have the following lines in the editor window:

This is line one

This is line three

Line two is empty. When I'm viewing this in HTML i get the following.

This is line one
This is line three

Without the extra empty line.

tinyMCE.init({
    mode : "textareas",
    theme : "advanced",
    plugins : "bbcode",
    entity_encoding : "raw",
    remove_linebreaks : false,
    force_p_newlines : false,
    force_br_newlines : true,
    forced_root_block : ''
});

What am I missing?

Thanks in advance!

UPDATE: Example

Click the bbcode link to the left: http://flipfish.dk/examples/

© Stack Overflow or respective owner

Related posts about tinymce

Related posts about bbcode