这个插件可以在 TinyMCE 编辑区插入笑脸等表情图标。
安装说明
- 将 emotions 目录复制到 TinyMCE 的插件目录(/jscripts/tiny_mce/plugins)。
- 在 TinyMCE 插件选项列表中加入插件,例如: plugins : "emotions"。
- 在按钮列表中加入 emotions 按钮名,例如: theme_advanced_buttons3_add : "emotions"。
初始化示例
tinyMCE.init({
theme : "advanced",
mode : "textareas",
plugins : "emotions",
theme_advanced_buttons3_add : "emotions"
});
版权说明
这些表情是从 Mozilla Thunderbird 中提取的。我希望他们不会因为我在这里使用而生气,毕竟这是一个开源项目而且我也很喜欢他们的产品。