add_editor_style but not for dropdown styles
-
Hi,
I’ve used
add_editor_style
to make TinyMCE reflect the styles of my theme.
On the new css file I declaredbody#tinymce.wp-editor2
for 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?
Thanks
Peter
- The topic ‘add_editor_style but not for dropdown styles’ is closed to new replies.