Annotation of loncom/html/adm/ckeditor/loncapaconfig.js, revision 1.1

1.1     ! faziophi    1: CKEDITOR.editorConfig = function (config) {
        !             2: 	/*
        !             3: 	FCKConfig.ToolbarSets["Default"] = [
        !             4: 		['Source','DocProps'],
        !             5: 		['Cut','Copy','Paste','PasteText','PasteWord'],
        !             6: 		['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
        !             7: 		['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
        !             8: 		['OrderedList','UnorderedList','-','Outdent','Indent'],
        !             9: 		['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
        !            10: 		['Link','Unlink','Anchor'],
        !            11: 		['Table', 'Rule', 'Smiley','SpecialChar','PageBreak'], // removed 'Image', 'Table' from front
        !            12: 		['TextColor','BGColor'],
        !            13: 		['Style','FontFormat','FontName','FontSize'],
        !            14: 		['FitWindow','-','About']
        !            15: 	] ;
        !            16: 	FCKConfig.LinkUpload = false ;
        !            17: 	FCKConfig.FlashBrowser = false ;
        !            18: 	FCKConfig.FlashUpload = false ;
        !            19: 	//FCKConfig.Plugins.Add('autogrow');
        !            20: 	//FCKConfig.AutoGrowMax = 500;
        !            21: 	FCKConfig.IgnoreEmptyParagraphValue = true;
        !            22: 	FCKConfig.FormatSource = false;
        !            23: 	FCKConfig.FormatOutput = true;
        !            24: 	FCKConfig.EnterMode = 'br' ; // p | div | br
        !            25: 	FCKConfig.ShiftEnterMode = 'p' ; // p | div | br
        !            26: 	FCKConfig.ImageBrowser = false;
        !            27: 	*/
        !            28: 	config.browserContextMenuOnCtrl = true;
        !            29: 	config.disableNativeSpellChecker = false;
        !            30: 	//config.enterMode = CKEDITOR.ENTER_BR;
        !            31: 	//config.shiftEnterMode = CKEDITOR.ENTER_P;
        !            32: 	
        !            33: 	config.ignoreEmptyParagraph = true;
        !            34: 	config.smiley_path = '/adm/lonIcons/';
        !            35: 	
        !            36: 	config.smiley_descriptions = [
        !            37:     'happy', 'sad', 'wink', 'big smile', 'uncertain', 'raspberry',
        !            38:     'embarrassed', 'cool', 'glasses', 'plain', 'surprised', 'angry',
        !            39:     'crying', 'quiet', 'uncertain', 'kiss', 'sick', 'heart',
        !            40:     'rose', 'pizza', 'ninja', 'pirate', 'agree', 
        !            41:     'disagree', 'angel'];
        !            42:     
        !            43:     config.smiley_images = [
        !            44:     'face-smile.png','face-sad.png','face-wink.png','face-smile-big.png','face-uncertain.png','face-raspberry.png',
        !            45:     'face-embarrassed.png','face-cool.png','face-glasses.png','face-plain.png','face-surprise.png','face-angry.png',
        !            46:     'face-crying.png','face-quiet.png','face-uncertain.png','face-kiss.png','face-sick.png','heart.png',
        !            47:     'rose.png','food-pizza.png','face-ninja.png', 'face-pirate.png', 'opinion-agree.png',
        !            48:     'opinion-disagree.png', 'face-angel.png'];
        !            49: 	
        !            50: 	config.toolbar_Full =
        !            51: 	[
        !            52: 		['Source','-','Preview'],
        !            53: 		['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print'],
        !            54: 		['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
        !            55: 		'/',
        !            56: 		['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
        !            57: 		['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],
        !            58: 		['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
        !            59: 		['Link','Unlink','Anchor'],
        !            60: 		['Image','Table','HorizontalRule','Smiley','SpecialChar'],
        !            61: 		'/',
        !            62: 		['Styles','Format','Font','FontSize'],
        !            63: 		['TextColor','BGColor'],
        !            64: 		['Maximize', 'ShowBlocks','-','About']
        !            65: 	];
        !            66: }

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