Le repo des sources pour le site web des JM2L
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
 
 

43 Zeilen
1.5 KiB

  1. /**
  2. * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md or http://ckeditor.com/license
  4. */
  5. CKEDITOR.editorConfig = function( config ) {
  6. // Define changes to default configuration here.
  7. // For complete reference see:
  8. // http://docs.ckeditor.com/#!/api/CKEDITOR.config
  9. config.extraPlugins = 'autogrow';
  10. config.skin = "moonocolor";
  11. config.uiColor = '#BABCBE';
  12. config.autoGrow_onStartup = true;
  13. config.autoGrow_maxHeight = 1200;
  14. // The toolbar groups arrangement, optimized for two toolbar rows.
  15. config.toolbarGroups = [
  16. { name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
  17. { name: 'editing', groups: [ 'find', 'selection', 'spellchecker' ] },
  18. { name: 'links' },
  19. { name: 'insert' },
  20. { name: 'forms' },
  21. { name: 'tools' },
  22. { name: 'document', groups: [ 'mode', 'document', 'doctools' ] },
  23. { name: 'others' },
  24. '/',
  25. { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
  26. { name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ] },
  27. { name: 'styles' },
  28. { name: 'colors' },
  29. { name: 'about' }
  30. ];
  31. // Remove some buttons provided by the standard plugins, which are
  32. // not needed in the Standard(s) toolbar.
  33. config.removeButtons = 'Underline,Subscript,Superscript';
  34. // Set the most common block elements.
  35. config.format_tags = 'p;h1;h2;h3;pre';
  36. // Simplify the dialog windows.
  37. config.removeDialogTabs = 'image:advanced;link:advanced';
  38. };