I'm using the BBCode plugin with TinyMCE and see that line breaks are not showing the same between the preview and the HTML code.
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?