Answer the question
In order to leave comments, you need to log in
TinyMCE Wordpress: How to set the style to be displayed when editing?
I prescribe my class in additional styles in the theme settings. I apply it to the tag When viewing the page, everything is displayed correctly, but nothing is visible in the editor.
How can I make this style work in the editor as well?
I don’t know if it’s relevant or not, but in the editor settings there is an empty checkbox<div class="moyclass">содержание</div>
Creating a CSS class menu
Load the CSS classes used in editor-style.css and replace the Formats menu.
ERROR : Your theme does not support editor-style.css. To use this option, add editor-style.css to your theme or child theme. Enabling this option will also load the stylesheet into the editor.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question