Guest User

Untitled

a guest
Dec 11th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.97 KB | None | 0 0
  1. CKEDITOR.editorConfig = function( config ) {
  2. // Define changes to default configuration here.
  3. // For complete reference see:
  4. // http://docs.ckeditor.com/#!/api/CKEDITOR.config
  5. 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';
  6. config.extraPlugins = 'print';
  7. config.extraPlugins = 'font';
  8. config.removePlugins = 'magicline,CreatDiv';
  9. config.skin = 'office2013';
  10. // The toolbar groups arrangement, optimized for two toolbar rows.
  11. config.toolbarGroups = [
  12. { name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
  13. { name: 'editing', groups: [ 'find', 'selection', 'spellchecker' ] },
  14. { name: 'links' },
  15. { name: 'insert' },
  16. { name: 'forms' },
  17. { name: 'tools' },
  18. { name: 'document', groups: [ 'mode', 'document', 'doctools' ] },
  19. { name: 'others' },
  20. '/',
  21. { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
  22. { name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ] },
  23. { name: 'styles' },
  24. { name: 'colors' },
  25. { name: 'about' },
  26. { name: 'fonts', groups:['font', 'fontFamily', 'fontSize', 'fontWeight', 'fontcolor', 'fonts', 'fontsize' ] },
  27. { name: 'print', groups: [ 'print', 'preview' ] },
  28. ];
  29. config.removeButtons = 'Underline,Subscript,Superscript,Source';
  30.  
  31. // Set the most common block elements.
  32. config.format_tags = 'p;h1;h2;h3;pre';
  33.  
  34. // Simplify the dialog windows.
  35. config.removeDialogTabs = 'image:advanced;link:advanced';
  36. };
Add Comment
Please, Sign In to add comment