Notranslate class on inserted text in id tinymce
-
Hello love the classic editor.
I have a website that can be translated with gtranslate. I also added it as an extra metabox in the post edit screen with the gtranslate selection box in it.
In this way, the complete post edit screen is translated automatically in the desired language. Perfect! But,
The text entered in the WYSIWYG editor (visual screen) gets translated automatically. So I am a French user, enter an English text. Save Draft and, voila, my text is translated into French.
That last part can be avoided by adding a class=”notranslate” to the area of id=”tinymce”.Is there a way to insert a code for this in functions.php? I have no clue at this moment and it would fix the entire problem.
- The topic ‘Notranslate class on inserted text in id tinymce’ is closed to new replies.