ToolbarSets"

This website contains links to software which is either no longer maintained or will be supported only until the end of 2019 (CKFinder 2). For the latest documentation about current CKSource projects, including software like CKEditor 4/CKEditor 5, CKFinder 3, Cloud Services, Letters, Accessibility Checker, please visit the new documentation website.

If you look for an information about very old versions of CKEditor, FCKeditor and CKFinder check also the CKEditor forum, which was closed in 2015. If not, please head to StackOverflow for support.

(New page: == ToolbarSets == This function determines what functions will be available to access from the toolbar. It also points out their arrangement on the toolbar. The syntax of the function * ...)
 
 
Line 1: Line 1:
== ToolbarSets ==
+
This function determines what functions will be available to access from the toolbar. It also points out their arrangement on the toolbar. The syntax of the function
  
This function determines what functions will be available to access from the toolbar. It also points out their arrangement on the toolbar. The syntax of the function
+
*Functions are divided into sections by placing them inside square brackets " [ ] ". <br><pre>['Source']</pre>
 +
*You may separate functions inside the section by putting a " '-' " sign beside them. It will appear as an pipe (|) in the toolbar. <br><pre>['Source','-','DocProps']</pre>
 +
*If you want to start a new line with functions put " ,'/', " between the section.<br><pre>['Source','-','DocProps'], '/', ['Bold','Italic']</pre>
 +
*Remember there is no comma after the last row.
  
* Functions are divided into sections by placing them inside square brackets " [ ] ". <br><pre>['Source']</pre>
+
Full Code:  
* You may separate functions inside the section by putting a " '-' " sign beside them. It will appear as an pipe (|) in the toolbar. <br><pre>['Source','-','DocProps']</pre>
 
* If you want to start a new line with functions put " ,'/', " between the section.<br><pre>['Source','-','DocProps'], '/', ['Bold','Italic']</pre>
 
* Remember there is no comma after the last row.
 
 
 
Full Code:
 
 
<pre>FCKConfig.ToolbarSets["Default"] = [
 
<pre>FCKConfig.ToolbarSets["Default"] = [
 
['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
 
['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],

Latest revision as of 12:49, 20 May 2008

This function determines what functions will be available to access from the toolbar. It also points out their arrangement on the toolbar. The syntax of the function

  • Functions are divided into sections by placing them inside square brackets " [ ] ".
    ['Source']
  • You may separate functions inside the section by putting a " '-' " sign beside them. It will appear as an pipe (|) in the toolbar.
    ['Source','-','DocProps']
  • If you want to start a new line with functions put " ,'/', " between the section.
    ['Source','-','DocProps'], '/', ['Bold','Italic']
  • Remember there is no comma after the last row.

Full Code:

FCKConfig.ToolbarSets["Default"] = [
['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
'/',
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
['Link','Unlink','Anchor'],
['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'],
'/',
['Style','FontFormat','FontName','FontSize'],
['TextColor','BGColor'],
['FitWindow','ShowBlocks','-','About'] // No comma for the last row.
] ;
This page was last edited on 20 May 2008, at 12:49.