瀏覽代碼

Feature: Named existing plugin(s).

Piotrek Koszuliński 8 年之前
父節點
當前提交
3a44797e20
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7 0
      packages/ckeditor5-autoformat/src/autoformat.js

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

@@ -60,6 +60,13 @@ export default class Autoformat extends Plugin {
 	/**
 	 * @inheritDoc
 	 */
+	static get pluginName() {
+		return 'autoformat/autoformat';
+	}
+
+	/**
+	 * @inheritDoc
+	 */
 	init() {
 		this._addListAutoformats();
 		this._addHeadingAutoformats();