Home › Forums › Backend Issues (wp-admin) › Default post content is replaced with visual editor field › Reply To: Default post content is replaced with visual editor field
Yest, the problem is qtranslate, but… i fixed that (almost).
This is the solution:
Go into wp-content/plugins/qtranslate/qtranslate_javascript.php
Go to line 288 (or line between 280-320 when you use other version qtranslate).
Search and Delete:
qtrans_save(switchEditors.pre_wpautop(o.content));
Insert:
if (ed.editorId.match(/^qtrans_/)) {
qtrans_save(switchEditors.pre_wpautop(o.content));
}
It almost fixed problem, but sometimes default post content is replaced with visual editor field, sometimes not. I edit visual editor field 20 times, and 2-3 times post content was replaced with content from visual editor field. It’s strange. Have any idea?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.