config.js 1.1 KB

1234567891011121314151617181920212223242526272829
  1. /**
  2. * @license Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see https://ckeditor.com/legal/ckeditor-oss-license
  4. */
  5. CKEDITOR.editorConfig = function( config ) {
  6. // Define changes to default configuration here. For example:
  7. // config.language = 'fr';
  8. // config.uiColor = '#AADC6E';
  9. // if( config && config.extraPlugins ){
  10. // var extraPlugins = config.extraPlugins;
  11. // extraPlugins = typeOf( extraPlugins ) === "array" ? extraPlugins : extraPlugins.split(",");
  12. // extraPlugins.push( 'o2image' );
  13. // config.extraPlugins = extraPlugins;
  14. // }else{
  15. // config.extraPlugins = ['o2image'];
  16. // }
  17. //
  18. // if( config && config.removePlugins ){
  19. // var removePlugins = config.removePlugins;
  20. // removePlugins = typeOf( removePlugins ) === "array" ? removePlugins : removePlugins.split(",");
  21. // removePlugins.push( 'image');
  22. // removePlugins.push( 'easyimage');
  23. // config.removePlugins = removePlugins;
  24. // }else{
  25. // config.removePlugins = ['image','easyimage'];
  26. // }
  27. };