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, 10 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.
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'],
['Table', '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>