Incorrect work when several tinymce editors
-
Steps for reproduce:
1. Install and configure qTranslate for several langs.
2. Install Advanced Custom Field plugin (4.2.1)
3. Add custom field with type “Wysiwyg Editor”
4. Try to add or edit new Post
5. Enter some text into Post’s content
6. Switch to another language’s tab
7. Switch to previos tab.
You will find that your content is empty.
Your post’s content will be overwritten by value of custom field.Solution:
I modified ‘qtrans_hook_on_tinyMCE’ function. I added condition for checking ‘id’ before saving.if (!ed.isHidden() && ed.id == id) { qtrans_save(switchEditors.pre_wpautop(o.content)); }Please, fix.
The topic ‘Incorrect work when several tinymce editors’ is closed to new replies.