8
0
فهرست منبع

Feature: Named existing plugin(s).

Piotrek Koszuliński 8 سال پیش
والد
کامیت
4f37a40e1a
1فایلهای تغییر یافته به همراه7 افزوده شده و 0 حذف شده
  1. 7 0
      packages/ckeditor5-enter/src/enter.js

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

@@ -17,6 +17,13 @@ import EnterObserver from './enterobserver';
  * @extends module:core/plugin~Plugin
  * @extends module:core/plugin~Plugin
  */
  */
 export default class Enter extends Plugin {
 export default class Enter extends Plugin {
+	/**
+	 * @inheritDoc
+	 */
+	static get pluginName() {
+		return 'enter/enter';
+	}
+
 	init() {
 	init() {
 		const editor = this.editor;
 		const editor = this.editor;
 		const editingView = editor.editing.view;
 		const editingView = editor.editing.view;