WordPress.org

Support

Support » Plugins and Hacks » [Plugin: TinyMCE Advanced] Styles dropdown has many bogus entries

[Plugin: TinyMCE Advanced] Styles dropdown has many bogus entries

  • 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/

Viewing 7 replies - 1 through 7 (of 7 total)
  • 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?

    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.

    Plugin Author Andrew Ozz

    @azaozz

    WordPress Dev

    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/

    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.

    OK, your plugin is nice, do not get me wrong, however I can find no way integrating TinyMCE Editor with he div tags – on editing div tags are multiplied, so that content is hidden that should not be hidden, generally the visual editor behaves like crazy, adds tags where I do not need them, generally it just fux up the code.

    So atm my conclusion with this: if you use it, never ever touch a page created with multiple collapsable areas with the visual editor, because everything will just be destroyed.

    If anybody can push me to a direction how to perform clean adding of divs and still be able to use TinyMCE, please show me how. I see that there are many plugins that try to fix, but the visual editor still is a PITA if you need control over your html – missing Dreamweaver at this point 🙂

    oups, wrong post, should go to “adjustly collapsable” plugin support page, but the TinyMCE problems apply to many other things. Just a pain.

    Plugin Author Andrew Ozz

    @azaozz

    WordPress Dev

    @bughunter you can try changing some of the TinyMCE settings like “force root block” http://www.tinymce.com/wiki.php/Configuration. However test it thoroughly as it would change how wpautop works too.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: TinyMCE Advanced] Styles dropdown has many bogus entries’ is closed to new replies.