javascript - TinyMCE: Customize style-names in styleselect-menu - Stack Overflow

admin2025-03-20  4

Let's say I have a CSS class named foo but would like it to be shown as foo (1) in the TinyMCE styleselect-menu (one of the default buttons available in the advanced theme).

I tried using the class_filter option to do this, but that doesn't seem to work.

How would you solve this problem?

Let's say I have a CSS class named foo but would like it to be shown as foo (1) in the TinyMCE styleselect-menu (one of the default buttons available in the advanced theme).

I tried using the class_filter option to do this, but that doesn't seem to work.

How would you solve this problem?

Share Improve this question asked May 19, 2009 at 16:13 JavierJavier 2,5214 gold badges37 silver badges57 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 7

Try initializing using the theme_advanced_styles option.

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1742420223a212896.html

最新回复(0)