最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

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

programmeradmin0浏览0评论

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.

发布评论

评论列表(0)

  1. 暂无评论