WordPress.org

Ready to get started?Download WordPress

Forums

qTranslate
qtranslate language tabs on editor of page/post (2 posts)

  1. Denish
    Member
    Posted 2 years ago #

    while editing the post/page, if i write "some text" for single language (lets say for "english") and switching to "german" , then if i press again switch to "english"....bhummmmm

    all content and formatting are gone!! editor looks blank :(

    http://wordpress.org/extend/plugins/qtranslate/

  2. rokrjr
    Member
    Posted 2 years ago #

    On the tab click, the "tinyMCE.triggerSave" function, present in the line 368, is called in duplicate.

    To correct the problem, change the line 305 in qtranslate_javascript.php.

    From:
    qtrans_save(switchEditors.pre_wpautop(o.content));

    To:
    if( o.content != '' ){qtrans_save(switchEditors.pre_wpautop(o.content));}

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags