WordPress.org

Forums

mqTranslate
mqTranslate removing line breaks in visual editor (1 post)

  1. JoshKay
    Member
    Posted 10 months ago #

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

    https://wordpress.org/plugins/mqtranslate/

Reply

You must log in to post.

About this Plugin

  • mqTranslate
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic