Lost formatting after saving

After a lot of research (2 day) i finally found a plaster… it’s not a fix, but it make the editor work for most of the work. Here is the code to add to function.php of the theme:

function cbnet_tinymce_config( $init ) {
    $init['remove_linebreaks'] = false;
    $init['convert_newlines_to_brs'] = true;
    $init['remove_redundant_brs'] = false;
    return $init;
}
add_filter('tiny_mce_before_init', 'cbnet_tinymce_config');

and here is where i found it : HERE

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)