add_editor_style but not for dropdown styles
add_editor_styleto make TinyMCE reflect the styles of my theme.
On the new css file I declared
body#tinymce.wp-editor2for all classes, ids and tags:
body#tinymce.wp-editor2 h1, body#tinymce.wp-editor2 h2, body#tinymce.wp-editor2 .someclass, body#tinymce.wp-editor2 div, ...
Unfortunately these styles are affecting the dropdown for the text styles and making it difficult to interact with the list of options.
Is there a way to affect only the iframe that contains the text?
- The topic ‘add_editor_style but not for dropdown styles’ is closed to new replies.