TinyMCE: setting style names in the styleselect menu

Say I have a CSS class called foo, but I would like it to appear as foo (1) in the TinyMCE style menu (one of the buttons is available by default in the advanced theme ).

I tried using the class_filter parameter, but this does not seem to work.

How would you solve this problem?

+4
source share
1 answer

Try initializing with the theme_advanced_styles parameter.

+7
source

All Articles