WordPress.org

Support

Support » Plugins and Hacks » TinyMCE Advanced » TinyMCE Advanced and classnames i the Styles drop down

TinyMCE Advanced and classnames i the Styles drop down

  • I have installed TinyMCE Advanced and add the Styles drop down to the toolbar. I have also created an editor-style.css and added “add_editor_style(‘editor-style.css’);” to functions.php for my theme. So far so good.

    My editor-style.css is a simple test css that looks like this:

    .dropcap:first-letter {
        color: #0000FF;
        float: left;
        font-family: Georgia,serif;
        font-size: 48px;
        margin: 8px 10px 0 0;
    }
    
    .post-format-chat {
    	background-color: #eadaa6;
    }

    They both work as expected visually in the WYSIWYG editor if I add the tags to my blog text manually in the text mode editor. So TinyMCE apparently sees them and understands them.

    But the problem is that only the last one displays in the Style drop down that I added with TinyMCE Advanced. Why is that? My first thought is that it is related to the classname being a complex one with a colon. Is there a way to make this work?

    TIA, Geir 🙂

    http://wordpress.org/plugins/tinymce-advanced/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘TinyMCE Advanced and classnames i the Styles drop down’ is closed to new replies.
Skip to toolbar