build-config.js 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. /**
  2. * This is a Drupal-optimized build of CKEditor.
  3. *
  4. * You may re-use it at any time at http://ckeditor.com/builder to build
  5. * CKEditor again. Alternatively, use the "build.sh" script to build it locally.
  6. * If you do so, be sure to pass it the "-s" flag. So: "sh build.sh -s".
  7. *
  8. * If you are developing or debugging CKEditor plugins, you may want to work
  9. * against an unoptimized (unminified) CKEditor build. To do so, you have two
  10. * options:
  11. * 1. Upload build-config.js to http://ckeditor.com/builder and choose the
  12. * "Source (Big N'Slow)" option when downloading.
  13. * 2. Use the "build.sh" script to build it locally, with one additional flag:
  14. * "sh build.sh -s --leave-js-unminified".
  15. * Then, replace this directory (core/assets/vendor/ckeditor) with your build.
  16. *
  17. * NOTE:
  18. * This file is not used by CKEditor, you may remove it.
  19. * Changing this file will not change your CKEditor configuration.
  20. */
  21. /* exported CKBUILDER_CONFIG */
  22. var CKBUILDER_CONFIG = {
  23. skin: 'moono',
  24. ignore: [
  25. // CKEditor repository structure: unrelated to the usage of CKEditor itself.
  26. 'dev',
  27. 'README.md',
  28. '.editorconfig',
  29. '.gitignore',
  30. '.gitattributes',
  31. '.idea',
  32. '.mailmap',
  33. '.DS_Store',
  34. 'tests',
  35. 'package.json',
  36. 'bender.js',
  37. '.bender',
  38. 'bender-err.log',
  39. 'bender-out.log',
  40. 'node_modules',
  41. '.jscsrc',
  42. '.jshintrc',
  43. // Parts of CKEditor that we consciously don't ship with Drupal.
  44. 'adapters',
  45. 'config.js',
  46. 'contents.css',
  47. 'gruntfile.js',
  48. 'styles.js',
  49. 'samples',
  50. 'skins/moono/readme.md'
  51. ],
  52. plugins : {
  53. 'about' : 1,
  54. 'a11yhelp' : 1,
  55. 'basicstyles' : 1,
  56. 'blockquote' : 1,
  57. 'clipboard' : 1,
  58. 'contextmenu' : 1,
  59. 'resize' : 1,
  60. 'toolbar' : 1,
  61. 'elementspath' : 1,
  62. 'enterkey' : 1,
  63. 'entities' : 1,
  64. 'filebrowser' : 1,
  65. 'floatingspace' : 1,
  66. 'format' : 1,
  67. 'htmlwriter' : 1,
  68. 'horizontalrule' : 1,
  69. 'wysiwygarea' : 1,
  70. 'indent' : 1,
  71. 'indentlist' : 1,
  72. 'language' : 1,
  73. 'list' : 1,
  74. 'magicline' : 1,
  75. 'maximize' : 1,
  76. 'pastetext' : 1,
  77. 'pastefromword' : 1,
  78. 'removeformat' : 1,
  79. 'sourcearea' : 1,
  80. 'specialchar' : 1,
  81. 'stylescombo' : 1,
  82. 'tab' : 1,
  83. 'table' : 1,
  84. 'tabletools' : 1,
  85. 'undo' : 1,
  86. 'justify' : 1,
  87. 'showblocks' : 1,
  88. 'showborders' : 1,
  89. 'tableresize' : 1,
  90. 'sharedspace' : 1,
  91. 'sourcedialog' : 1,
  92. 'widget' : 1,
  93. 'image2' : 1
  94. }
  95. };