浏览代码

Feature: Named existing plugin(s).

Piotrek Koszuliński 8 年之前
父节点
当前提交
bdc3f525bf
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      packages/ckeditor5-undo/src/undo.js

+ 7 - 0
packages/ckeditor5-undo/src/undo.js

@@ -138,6 +138,13 @@ export default class Undo extends Plugin {
 	/**
 	 * @inheritDoc
 	 */
+	static get pluginName() {
+		return 'undo/undo';
+	}
+
+	/**
+	 * @inheritDoc
+	 */
 	init() {
 		const editor = this.editor;
 		const t = editor.t;