|
WYSIWIG Configs by Context and Permission
ANON |
ISUSER |
ISEDITOR |
ISADMIN |
|
|
|
|
Basic
FCKConfig.ToolbarSets["Basic-ANON"] = [
['Bold','Italic','TextColor','-','SpellCheck'],
['Source']
] ; |
|
Basic
FCKConfig.ToolbarSets["Basic-ISEDITOR"] = [
['Bold','Italic','TextColor','-','SpellCheck'],
['Link','Unlink'],
['Source']
] ; |
|
FULL
FCKConfig.ToolbarSets["Full-ANON"] = [
['Bold','Italic','Underline','StrikeThrough','-','TextColor','-','RemoveFormat']
['SpellCheck'],
['PasteText','PasteWord','-','RemoveFormat'],
['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
['Rule'],
['Image','Table','SpecialChar'],
'/',
['Style','FontFormat','FontName','FontSize'],
['Link','Unlink'],
['FitWindow','Source'],
] ;
|
FULL
FCKConfig.ToolbarSets["Full-ISUSER"] = [
['Bold','Italic','Underline','StrikeThrough','-','TextColor','-','RemoveFormat']
['SpellCheck'],
['PasteText','PasteWord','-','RemoveFormat'],
['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
['Rule'],
['Image','Flash','Table','Smiley','SpecialChar'],
'/',
['Style','FontFormat','FontName','FontSize'],
['Link','Unlink','Anchor'],
['FitWindow','Source'],
] ; |
FULL
FCKConfig.ToolbarSets["Full-ISEDITOR"] = [
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript','-','TextColor','BGColor','-','RemoveFormat']
['SpellCheck'],
['PasteText','PasteWord','-','RemoveFormat'],
['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
['Rule'],
['Image','Flash','Table','Smiley','SpecialChar'],
'/',
['Style','FontFormat','FontName','FontSize'],
['Link','Unlink','Anchor'],
['FitWindow','Source'],
'/',
['Replace','ShowBlocks']
] ; |
FULL
FCKConfig.ToolbarSets["Full-ISADMIN"] = [
['Templates'],
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript','-','TextColor','BGColor','-','RemoveFormat']
['SpellCheck'],
['PasteText','PasteWord','-','RemoveFormat'],
['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
['Rule'],
['Image','Flash','Table','Smiley','SpecialChar'],
'/',
['Style','FontFormat','FontName','FontSize'],
['Link','Unlink','Anchor'],
['FitWindow','Source'],
'/',
['Replace','ShowBlocks']
] ; |
|
|
|
|
FCK UNUSED
['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
['DocProps','Save','NewPage','Preview'],
['Cut','Copy','Paste','Print'],
['Undo','Redo','Find','-','SelectAll'],
['About']
|
|
|
FCK DEFAULT
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.
] ; |
WYSIWIG Configs by Context and Permission
ANON |
ISUSER |
ISEDITOR |
ISADMIN |
|
|
|
|
B, I, U,L Link, Font, Size, Text Color
Basic
|
|
|
|
Full
- source
- remove format
-
B, I, U,L,
- lists number / bullet
- indent/outdent
- align left/center/right/justify
- Link/Unlink, Anchor
- Embed Pic, Flash (NO FLASH UPLOAD, and limitied pic size)
- Insert Table, horizontal line, special character
- pagebreak
- Style, Font, Size, Text Color, Text Background Clolor
- maximize editor window button
-
|
Full
- (limited Flash Upload Size)
|
Full
- Use of safe Javascript if possible
|
Full
- ALL buttons minus form buttons
- unlimited pic and flash uploads
- use of any JavaScript if safe JavaScript is not enforceable
|
|
|
TEST
Full minus embed Flash plus:
- Form, and all form field types
|
|
|
|
RFE
- Insert Smiley's and MM Icons
|
|
|
|