File:  [LON-CAPA] / loncom / html / adm / fckeditor / loncapaconfig.js
Revision 1.4: download - view: text, annotated - select for diffs
Wed Nov 25 03:39:13 2009 UTC (14 years, 9 months ago) by faziophi
Branches: MAIN
CVS tags: HEAD, GCI_3
Upgrades FCKEditor to version 2.6.5, including the tar.gz package.
Improvements/Features:
   -- IE8 Compatibility
   -- Spell Check As You Type (SCAYT)
Also:
   -- removed Image and Table toolbar buttons temporarily due to bugs
      5966 and 5550, respectively, while a permanent solution
      can be worked on
   -- Image Browser shut off (see bug 5966); a solution may or may
      not be possible

FCKConfig.ToolbarSets["Default"] = [
	['Source','DocProps'],
	['Cut','Copy','Paste','PasteText','PasteWord'],
	['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
	['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
	['OrderedList','UnorderedList','-','Outdent','Indent'],
	['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
	['Link','Unlink','Anchor'],
	['Rule', 'Smiley','SpecialChar','PageBreak'], // removed 'Image', 'Table' from front
	['TextColor','BGColor'],
	['Style','FontFormat','FontName','FontSize'],
	['FitWindow','-','About']
] ;
FCKConfig.LinkUpload = false ;
FCKConfig.FlashBrowser = false ;
FCKConfig.FlashUpload = false ;
//FCKConfig.Plugins.Add('autogrow');
//FCKConfig.AutoGrowMax = 500;
FCKConfig.IgnoreEmptyParagraphValue = true;
FCKConfig.FormatSource = false;
FCKConfig.FormatOutput = true;
FCKConfig.EnterMode = 'br' ; // p | div | br
FCKConfig.ShiftEnterMode = 'p' ; // p | div | br
FCKConfig.ImageBrowser = false;

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