浏览代码

Feature: Named existing plugin(s).

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

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

@@ -32,6 +32,13 @@ export default class Paragraph extends Plugin {
 	/**
 	 * @inheritDoc
 	 */
+	static get pluginName() {
+		return 'paragraph/paragraph';
+	}
+
+	/**
+	 * @inheritDoc
+	 */
 	init() {
 		const editor = this.editor;
 		const doc = editor.document;