|
1 // cf /usr/share/fckeditor/fckconfig.js |
|
2 |
|
3 FCKConfig.AutoDetectLanguage = false ; |
|
4 |
|
5 FCKConfig.ToolbarSets["Default"] = [ |
|
6 // removed : 'Save','NewPage','DocProps','-','Templates','-','Preview' |
|
7 ['Source'], |
|
8 // removed: 'Print','-','SpellCheck' |
|
9 ['Cut','Copy','Paste','PasteText','PasteWord'], |
|
10 ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'], |
|
11 //['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'], |
|
12 '/', |
|
13 // ,'StrikeThrough','-','Subscript','Superscript' |
|
14 ['Bold','Italic','Underline'], |
|
15 // ,'-','Outdent','Indent','Blockquote' |
|
16 ['OrderedList','UnorderedList'], |
|
17 ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'], |
|
18 ['Link','Unlink','Anchor'], |
|
19 // removed : 'Image','Flash','Smiley','PageBreak' |
|
20 ['Table','Rule','SpecialChar'], |
|
21 '/', |
|
22 ['Style','FontFormat','FontName','FontSize'], |
|
23 ['TextColor','BGColor'], |
|
24 //,'ShowBlocks' |
|
25 ['FitWindow','-','About'] // No comma for the last row. |
|
26 ] ; |
|
27 |
|
28 // 'Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','Form', |
|
29 FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','BulletedList','NumberedList','Table'] ; |
|
30 |
|
31 FCKConfig.LinkUpload = false ; |
|
32 FCKConfig.ImageUpload = false ; |
|
33 FCKConfig.FlashUpload = false ; |
|
34 |