Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CKEDITOR.editorConfig = function( config ) {
- // Define changes to default configuration here.
- // For complete reference see:
- // http://docs.ckeditor.com/#!/api/CKEDITOR.config
- config.plugins = 'dialogui,dialog,about,a11yhelp,basicstyles,blockquote,notification,button,toolbar,clipboard,panel,floatpanel,print,font,contextmenu,menu,resize,elementspath,enterkey,entities,popup,filebrowser,floatingspace,listblock,richcombo,format,horizontalrule,htmlwriter,wysiwygarea,image,indent,indentlist,fakeobjects,link,list,maximize,pastetext,pastefromword,removeformat,showborders,sourcearea,specialchar,menubutton,scayt,stylescombo,tab,table,tabletools,tableselection,undo,wsc,allowsave,autosave,dropdownmenumanager,filetools,lineutils,widgetselection,widget,notificationaggregator,uploadwidget';
- config.extraPlugins = 'print';
- config.extraPlugins = 'font';
- config.removePlugins = 'magicline,CreatDiv';
- config.skin = 'office2013';
- // The toolbar groups arrangement, optimized for two toolbar rows.
- config.toolbarGroups = [
- { name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
- { name: 'editing', groups: [ 'find', 'selection', 'spellchecker' ] },
- { name: 'links' },
- { name: 'insert' },
- { name: 'forms' },
- { name: 'tools' },
- { name: 'document', groups: [ 'mode', 'document', 'doctools' ] },
- { name: 'others' },
- '/',
- { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
- { name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ] },
- { name: 'styles' },
- { name: 'colors' },
- { name: 'about' },
- { name: 'fonts', groups:['font', 'fontFamily', 'fontSize', 'fontWeight', 'fontcolor', 'fonts', 'fontsize' ] },
- { name: 'print', groups: [ 'print', 'preview' ] },
- ];
- config.removeButtons = 'Underline,Subscript,Superscript,Source';
- // Set the most common block elements.
- config.format_tags = 'p;h1;h2;h3;pre';
- // Simplify the dialog windows.
- config.removeDialogTabs = 'image:advanced;link:advanced';
- };
Add Comment
Please, Sign In to add comment