Option: theme_advanced_buttons<1-n_add_before>
Option: theme_advanced_buttons<1-n_add_before>
This option should contain a comma separated list of button/control names to add to the beginning of the specified toolbar row. The number 1-n is the row number to add the buttons/controls to. Below is a list of build in controls, plugins may include other controls names that can be inserted but these are documented in the individual plugins.
This option can only be used when theme is set to advanced and when the theme_advanced_layout_manager option is set to the default value of "SimpleLayout".
These are the build in buttons/controls that the advanced theme has.
bold,italic,underline,strikethrough,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect
bullist,numlist,outdent,indent,undo,redo,link,unlink,anchor,image,cleanup,help,code
hr,removeformat,visualaid,sub,sup,charmap,separator
Example of usage of the theme_advanced_buttons<1-n>_add_before option:
tinyMCE.init({
...
theme_advanced_buttons1_add_before : "separator,insertdate,inserttime,preview,zoom,separator,forecolor,backcolor"
theme_advanced_buttons2_add_before : "bullist,numlist,separator,outdent,indent,separator,undo,redo,separator,link,unlink,anchor,image,cleanup,help,code"
theme_advanced_buttons3_add_before : "hr,removeformat,visualaid,separator,sub,sup,separator,charmap"
});
Index
Copyright © 2005 Moxiecode Systems AB
Wyszukiwarka
Podobne podstrony:
option theme?vanced buttons noption theme?vanced buttons n?doption theme?vanced disableoption theme?vanced resizing use cookieoption theme?vanced container alignoption theme?vanced containersoption theme?vanced pathoption theme?vanced custom layoutoption theme?vanced statusbar locationoption theme?vanced resize horizontaloption theme?vanced containers?fault classoption theme?vanced fontsoption theme?vanced containeroption theme?vanced stylesoption theme?vanced source?itor heightoption theme?vanced containers?fault alignoption theme?vanced blockformatsoption theme?vanced source?itor widthoption theme?vanced toolbar locationwięcej podobnych podstron