123456789101112131415161718192021222324252627282930313233343536373839404142 |
- //FCKConfig.SmileyWindowWidth = 500 ;
- //FCKConfig.SmileyWindowHeight = 500 ;
- //FCKConfig.ImageUpload = false ;
- FCKConfig.ToolbarSets["PluginTest"] = [
- ['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
- ['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
- ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
- ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
- ['OrderedList','UnorderedList','-','Outdent','Indent'],
- ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
- ['Link','Unlink','Anchor'],
- ['Image','Flash','Video','MP3','Table','Rule','Smiley','SpecialChar','UniversalKey'],
- ['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
- '/',
- ['Style','FontFormat','FontName','FontSize'],
- ['TextColor','BGColor'],
- ['About'],['Attachment']
- ] ;
- FCKConfig.ToolbarSets["Question"] = [
- ['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
- ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
- ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
- ['OrderedList','UnorderedList','-','Outdent','Indent'],
- ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
- ['Link','Unlink','Anchor'],
- ['Image','Flash','Video','MP3','Table','Rule','Smiley','SpecialChar','UniversalKey'],
- ['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
- '/',
- ['Style','FontFormat','FontName','FontSize'],['Attachment']
- ] ;
- FCKConfig.ToolbarSets["Middle"] = [
- ['FontSize'],['Bold','Italic','TextColor'],['OrderedList','UnorderedList'],['Rule','Link','Table'],['Image','Flash']
- ] ;
- var sOtherPluginPath = FCKConfig.BasePath.substr(0, FCKConfig.BasePath.length - 7) + 'editor/plugins/' ;
- FCKConfig.Plugins.Add("MP3", "en,it", sOtherPluginPath ) ;
- FCKConfig.Plugins.Add("Video", "en,it", sOtherPluginPath ) ;
- FCKConfig.Plugins.Add("Attachment", "en", sOtherPluginPath ) ;
|