• Resolved cokeyblokey

    (@cokeyblokey)


    I’m using an editor-styles.css file to add styles to the TinyMCE Styles drop-down. When I first visit my dashboard, the correct styles are there but as soon as I save a post or switch from one section of the dashboard to another they disappear from the drop-down. If I then close the dashboard and open again they are back.

    Any suggestions?

Viewing 4 replies - 16 through 19 (of 19 total)
  • Superb; works a treat! Thanks for all the help ??

    Just up update on the original issue… It appears to still be happening in WordPress 3.1.3.

    So for now the workaround is to still use the ‘Advanced TinyMCE Configuration’ plug-in if you need to get your custom styles to show in the WP Admin panel in IE.

    @evster
    I have noticed this bug in Chrome, IE and Safari with the latest WP 3.3 where this code would not always work and theme_advanced_styleselect would sometimes revert to the initial state without showing my custom style:

    function mytheme_custom_tinymce($init) {
        $init['theme_advanced_styleselect'] = 'Ingress=ingress';
        return $init;
    }
    add_filter('tiny_mce_before_init', 'mytheme_custom_tinymce');

    But thanks to you I found the solution with Advanced TinyMCE Configuration.

    We ran into the same issue after working on fixing the problems with 3.4.5 and WP 3.3.1 (styles from editor-style.css not appearing). After getting the styles to show up at all, we then saw them randomly disappearing in Safari.

    So we installed this plugin and it seems to be working so far. And we actually like being able to customize the formatting and styles options that our client will see. But just a couple questions:

    – Is this going to work OK with future version of TinyMCE Advanced when updating?

    – Any drawbacks seen after the few months of working with it?

    – Any resources used by this plugin that wouldn’t be normally (we’re trying to keep our site a bit lighter so it’s not sluggish)?

    Thanks!

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘[Plugin: TinyMCE Advanced] Losing styles from dropdown when posts are saved’ is closed to new replies.