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

Let's say I have a CSS class named foo but would like it to be shown as foo (1) in the TinyMCE sty

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.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742420222a4440534.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信