There are several solutions , first try setting convert_newlines_to_brs: false without quotes .
if this does not help you use this cleanup function
function CustomCleanup(type, content) { switch (type) { // gets passed when user submits the form case "get_from_editor": content = content.replace(/<br \/>/gi, "\n"); // would be nice if this replace only replaces the brs in a pre block. bur for the moment it is ok. break; // gets passed when new content is inserted into the editor case "insert_to_editor": break; } return content; } tinyMCE.init({ ... cleanup_callback : "myCustomCleanup" });
source share