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!
Our guide looks into WordPress custom fields and how they stack up against the possibilities of ACF.
— Advanced Custom Fields (@wp_acf) July 18, 2022
https://t.co/hk3yibkHyk
© 2022 Advanced Custom Fields.
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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.