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

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: 	*/
1.2     ! raeburn    28: 
        !            29: 	config.entities_additional = '';
1.1       faziophi   30: 	config.browserContextMenuOnCtrl = true;
                     31: 	config.disableNativeSpellChecker = false;
                     32: 	//config.enterMode = CKEDITOR.ENTER_BR;
                     33: 	//config.shiftEnterMode = CKEDITOR.ENTER_P;
                     34: 	
                     35: 	config.ignoreEmptyParagraph = true;
                     36: 	config.smiley_path = '/adm/lonIcons/';
                     37: 	
                     38: 	config.smiley_descriptions = [
                     39:     'happy', 'sad', 'wink', 'big smile', 'uncertain', 'raspberry',
                     40:     'embarrassed', 'cool', 'glasses', 'plain', 'surprised', 'angry',
                     41:     'crying', 'quiet', 'uncertain', 'kiss', 'sick', 'heart',
                     42:     'rose', 'pizza', 'ninja', 'pirate', 'agree', 
                     43:     'disagree', 'angel'];
                     44:     
                     45:     config.smiley_images = [
                     46:     'face-smile.png','face-sad.png','face-wink.png','face-smile-big.png','face-uncertain.png','face-raspberry.png',
                     47:     'face-embarrassed.png','face-cool.png','face-glasses.png','face-plain.png','face-surprise.png','face-angry.png',
                     48:     'face-crying.png','face-quiet.png','face-uncertain.png','face-kiss.png','face-sick.png','heart.png',
                     49:     'rose.png','food-pizza.png','face-ninja.png', 'face-pirate.png', 'opinion-agree.png',
                     50:     'opinion-disagree.png', 'face-angel.png'];
                     51: 	
                     52: 	config.toolbar_Full =
                     53: 	[
                     54: 		['Source','-','Preview'],
                     55: 		['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print'],
                     56: 		['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
                     57: 		'/',
                     58: 		['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
                     59: 		['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],
                     60: 		['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
                     61: 		['Link','Unlink','Anchor'],
                     62: 		['Image','Table','HorizontalRule','Smiley','SpecialChar'],
                     63: 		'/',
                     64: 		['Styles','Format','Font','FontSize'],
                     65: 		['TextColor','BGColor'],
                     66: 		['Maximize', 'ShowBlocks','-','About']
                     67: 	];
1.2     ! raeburn    68: }

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