• I added these lines to my functions.php

    // Connect the WordPress post editor to your custom stylesheet
    function my_theme_add_editor_styles() {
      add_editor_style( 'editor-style.css' );get_editor_stylesheets() ;
    }

    Than i get this information under Design > editor >

    WordPress Wiki Theme: Stylesheet für WYSIWYG-Editor (editor-style.css)

    where i added this line to my current theme’s css, which is in the same directory as the editor-style.css:

    @import url( ‘style_blue.css’ );

    /* Add overwrites as needed so that the content of the editor field is attractive and not broken */
    body { padding: 0; background: #fff; }

    But i still only see the wp-content.css in the tinymce editor? Any idea how i can get Worpress to use my custom css in the editor?

  • The topic ‘TinyMCE editor doesn't use themes css? How-to?’ is closed to new replies.