WordPress.org

Forums

mqTranslate
Adding Content to WYSIWYG dupes in native WP Content Editor (4 posts)

  1. maxim1988
    Member
    Posted 1 year ago #

    Hi! Finaly I fixed this bug!
    WP 3.9.1, acf-qtranslate 1.3.0, Advanced Custom Fields 4.3.8, mqTranslate 2.6.2.6
    In qtranslate_javascript.php must replace
    Line 361
    id = id || 'qtrans_textarea_content';
    to
    window.id = id || 'qtrans_textarea_content';

    Line 302
    qtrans_save(switchEditors.pre_wpautop(e.content));
    to

    if (ed.id.match(/^qtrans_/)) {
    qtrans_save(switchEditors.pre_wpautop(e.content));
    }

    Please add this support to next version
    Issue from

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

  2. Diego Betto
    Member
    Posted 1 year ago #

    works like a charm! Tnx!

  3. fburatti
    Member
    Posted 1 year ago #

    I confirm it works great!
    wp 4.0
    acf qtranslate 1.4
    acf 4.3.8

    it would be nice if the plugin author would update the source with these changes!

  4. nilay.dswt
    Member
    Posted 1 year ago #

    Hello,

    I have tried with same patch but won't work for me.

    I have also tried with putting alert in same function but when I update the post it won't works.

    Any other idea what is the problem?

    Thanks in advance.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic