Support » Plugin: mqTranslate » mqTranslate removing line breaks in visual editor

  • In the latest update we experienced the visual editor removing paragraph breaks from posts when loading with the visual editor (i.e. visual editor/TinyMCE was the default). This was not the case when loading in text (html) edit mode and switching to the visual editor, which gave me the clue that the error was in the mqTranslate loading sequence.

    I found this in the file mqtranslate_wphacks.php on line 120, and commented out the filter, which only hooks in if WP is intending to load the visual (rich text) editor when editing the file.

    // remove wpautop
    	if('html' != wp_default_editor()) {
    		// remove_filter('the_editor_content', 'wp_richedit_pre');

    If anyone is experiencing the same problem I suggest you comment out the above line (or comment the entire block).

  • The topic ‘mqTranslate removing line breaks in visual editor’ is closed to new replies.