选项:theme_advanced_buttons<1-n_add>

这个选项包含一个以逗号分隔的列表,内容是要插入工具条末尾处的按钮。数字 1-n 代表将按钮插入第几行“末尾”。下面是内建按钮的列表。使用插件可以插入其他按钮,但它们定义在独立的插件文件中。只有当 theme 选项为 advanced 并且 theme_advanced_layout_manager 选项为默认值 "SimpleLayout" 时才有用。

button/control reference 页面可以看到完整的内置按钮参考。

theme_advanced_buttons<1-n>_add 选项的使用示例:

tinyMCE.init({
	...
	theme_advanced_buttons1_add : "separator,insertdate,inserttime,preview,zoom,separator,forecolor,backcolor"
	theme_advanced_buttons2_add : "bullist,numlist,separator,outdent,indent,separator,undo,redo,separator,link,unlink,anchor,image,cleanup,help,code"
	theme_advanced_buttons3_add : "hr,removeformat,visualaid,separator,sub,sup,separator,charmap"
});