File:  [LON-CAPA] / loncom / html / adm / fckeditor / loncapaconfig.js
Revision 1.5: download - view: text, annotated - select for diffs
Tue Dec 22 04:59:21 2009 UTC (14 years, 5 months ago) by faziophi
Branches: MAIN
CVS tags: version_2_9_99_0, version_2_10_0_RC1, language_hyphenation_merge, language_hyphenation, bz6209-base, bz6209, PRINT_INCOMPLETE_base, PRINT_INCOMPLETE, HEAD, BZ4492-merge, BZ4492-feature_horizontal_radioresponse
Adding back "Table" mode to FCKEditor 2.x, now that an adequate solution is planned on -- see future commits.

    1: FCKConfig.ToolbarSets["Default"] = [
    2: 	['Source','DocProps'],
    3: 	['Cut','Copy','Paste','PasteText','PasteWord'],
    4: 	['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
    5: 	['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
    6: 	['OrderedList','UnorderedList','-','Outdent','Indent'],
    7: 	['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
    8: 	['Link','Unlink','Anchor'],
    9: 	['Table', 'Rule', 'Smiley','SpecialChar','PageBreak'], // removed 'Image', 'Table' from front
   10: 	['TextColor','BGColor'],
   11: 	['Style','FontFormat','FontName','FontSize'],
   12: 	['FitWindow','-','About']
   13: ] ;
   14: FCKConfig.LinkUpload = false ;
   15: FCKConfig.FlashBrowser = false ;
   16: FCKConfig.FlashUpload = false ;
   17: //FCKConfig.Plugins.Add('autogrow');
   18: //FCKConfig.AutoGrowMax = 500;
   19: FCKConfig.IgnoreEmptyParagraphValue = true;
   20: FCKConfig.FormatSource = false;
   21: FCKConfig.FormatOutput = true;
   22: FCKConfig.EnterMode = 'br' ; // p | div | br
   23: FCKConfig.ShiftEnterMode = 'p' ; // p | div | br
   24: FCKConfig.ImageBrowser = false;

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>