myconfig.js 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. //FCKConfig.SmileyWindowWidth = 500 ;
  2. //FCKConfig.SmileyWindowHeight = 500 ;
  3. //FCKConfig.ImageUpload = false ;
  4. FCKConfig.ToolbarSets["PluginTest"] = [
  5. ['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
  6. ['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
  7. ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
  8. ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
  9. ['OrderedList','UnorderedList','-','Outdent','Indent'],
  10. ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
  11. ['Link','Unlink','Anchor'],
  12. ['Image','Flash','Video','MP3','Table','Rule','Smiley','SpecialChar','UniversalKey'],
  13. ['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
  14. '/',
  15. ['Style','FontFormat','FontName','FontSize'],
  16. ['TextColor','BGColor'],
  17. ['About'],['Attachment']
  18. ] ;
  19. FCKConfig.ToolbarSets["Question"] = [
  20. ['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
  21. ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
  22. ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
  23. ['OrderedList','UnorderedList','-','Outdent','Indent'],
  24. ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
  25. ['Link','Unlink','Anchor'],
  26. ['Image','Flash','Video','MP3','Table','Rule','Smiley','SpecialChar','UniversalKey'],
  27. ['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
  28. '/',
  29. ['Style','FontFormat','FontName','FontSize'],['Attachment']
  30. ] ;
  31. FCKConfig.ToolbarSets["Middle"] = [
  32. ['FontSize'],['Bold','Italic','TextColor'],['OrderedList','UnorderedList'],['Rule','Link','Table'],['Image','Flash']
  33. ] ;
  34. var sOtherPluginPath = FCKConfig.BasePath.substr(0, FCKConfig.BasePath.length - 7) + 'editor/plugins/' ;
  35. FCKConfig.Plugins.Add("MP3", "en,it", sOtherPluginPath ) ;
  36. FCKConfig.Plugins.Add("Video", "en,it", sOtherPluginPath ) ;
  37. FCKConfig.Plugins.Add("Attachment", "en", sOtherPluginPath ) ;