Ticket #974: fckcustom.js

File fckcustom.js, 2.1 KB (added by hoffmandirt, 17 years ago)

My custom config file for the editor.

Line 
1FCKConfig.ToolbarSets["NmcDefaultToolbar"] = [
2    ['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
3    ['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
4    ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
5    ['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
6    '/',
7    ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
8    ['OrderedList','UnorderedList','-','Outdent','Indent'],
9    ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
10    ['Link','Unlink','Anchor'],
11    ['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'],
12    '/',
13    ['Style','FontFormat','FontName','FontSize'],
14    ['TextColor','BGColor'],
15    ['FitWindow','-','About']
16] ;
17FCKConfig.ToolbarSets["NmcBasicToolbar"] = [
18    ['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
19    ['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
20    ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
21    '/',
22    ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
23    ['OrderedList','UnorderedList','-','Outdent','Indent'],
24    ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
25    ['Link','Unlink','Anchor'],
26    ['Table','Rule','SpecialChar'],
27    '/',
28    ['Style','FontFormat','FontName','FontSize'],
29    ['TextColor','BGColor'],
30    ['About']
31] ;
32FCKConfig.EnterMode = "br";
33FCKConfig.LinkBrowser = false ;
34FCKConfig.FlashBrowser = false ;
35FCKConfig.LinkUpload = false ;
36FCKConfig.FlashUpload = false ;
37
38// Tool bar must be set where instance is created.
39
40// Don't forget to change the following after the upgrade.
41// var _FileBrowserLanguage    = 'asp' ;   // asp | aspx | cfm | lasso | perl | php | py
42// var _QuickUploadLanguage    = 'asp' ;   // asp | aspx | cfm | lasso | php
43// to
44// var _FileBrowserLanguage    = 'cfm' ;   // asp | aspx | cfm | lasso | perl | php | py
45// var _QuickUploadLanguage    = 'cfm' ;   // asp | aspx | cfm | lasso | php
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy