Lost formatting after saving

I make basic formatting to the text in visual editor. When saving, everything got lost, formatting, spaces, paragraph…. everything got inline…

I will go crazy !… why it’s doing that ?.. i can make testing as request to gt out of this problem.. thanks in advance

Read More

the DB and WP got reinstalled, and is hosted on hostpapa. I have others client on iweb and those work fine. I have no choice now, to make it work on hostpapa, the migration to iweb will be the LAST thing of last resort !

i am using qtranslate, wich can be the plugin the bug the editor

Related posts

Leave a Reply

1 comment

  1. 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