浏览代码

Docs: Added warning about removing plugins. See ckeditor/ckeditor5#526.

Piotrek Koszuliński 7 年之前
父节点
当前提交
395c368e13
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      packages/ckeditor5-core/src/editor/editorconfig.jsdoc

+ 5 - 0
packages/ckeditor5-core/src/editor/editorconfig.jsdoc

@@ -67,6 +67,11 @@
  *			removePlugins: [ 'Bold', 'Italic' ]
  *		};
  *
+ * **Note:** Be careful when removing plugins using `config.removePlugins` from CKEditor builds.
+ * If removed plugins were providing toolbar buttons, the default toolbar configuration included in a build
+ * will become invalid. In such case you need to provide the updated
+ * {@link module:core/editor/editorconfig~EditorConfig#toolbar toolbar configuration}.
+ *
  * @member {Array.<String>} module:core/editor/editorconfig~EditorConfig#removePlugins
  */