The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

add_editor_style but not for dropdown styles (1 post)

  1. SteveStall
    Posted 3 years ago #


    I've used add_editor_style to make TinyMCE reflect the styles of my theme.
    On the new css file I declared body#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?


Topic Closed

This topic has been closed to new replies.

About this Topic