Forums

TinyMCE Advanced
Styles dropdown has many bogus entries (5 posts)

  1. pmorch
    Member
    Posted 10 months ago #

    I setup my editor-style.css, and the single style I setup in there makes it to the "Styles" dropdown list.

    Here is what it looks like:
    http://tinypic.com/r/2yls8av/7

    As you can see, 'code' style makes it to the list, but there are many more styles in there that I don't care about. Is there any way to remove all these weird styles, or at least make them appear below my own defined ones?

    E.g. wp-oembed, which is only found in
    /var/www/wp-includes/js/tinymce/plugins/wordpress/css/content.css
    as

    img.wp-oembed {
    border: 1px dashed #888;
    background: #f7f5f2 url("../img/embedded.png") no-repeat scroll center center;
    width: 300px;
    height: 250px;
    }

    Why is that on the style list? It is quite annoying to have to scroll past junk entries to find the ones what I'm looking for.

    Actually, the only reason I've installed TinyMCE Advanced is to setup inline tags in visual mode. Is there a simpler way to achieve that?

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

  2. pmorch
    Member
    Posted 10 months ago #

    I tried to write:

    Actually, the only reason I've installed TinyMCE Advanced is to setup inline tags in visual mode. Is there a simpler way to achieve that?

  3. pmorch
    Member
    Posted 10 months ago #

    Aaarrrrhhh. That was supposed to be:

    Actually, the only reason I've installed TinyMCE Advanced is to setup inline (start-tag)code(end-tag) tags in visual mode. Is there a simpler way to achieve that?

    Using the one-char less-than doesn't work. Using a ambersand-lt-semicolon doesn't either. :-( Sorry for the noise.

  4. Andrew Ozz
    WordPress Dev
    Posted 9 months ago #

    There is an option to remove all style declarations from there. The other option is to set that list manually, see this plugin: http://wordpress.org/extend/plugins/advanced-tinymce-configuration/

  5. pmorch
    Member
    Posted 9 months ago #

    There is an option to remove all style declarations from there.

    I'm sorry I don't see that anywhere. Where is that?

    But "Advanced TinyMCE Config" works: Setting theme_advanced_styles to code=code enables me to have just that one style listed. So, to have inline code tags, using TinyMCE, I need two plugins: "Advanced TinyMCE Config" and "TinyMCE Advanced", and I need to click on style/Code. Wow.

    This widget I'm typing in here seems to allow me to do code style tags simply by using backticks. But no wysiwyg.

Reply

You must log in to post.

About this Plugin

About this Topic