Przeglądaj źródła

Feature: Named existing plugin(s).

Piotrek Koszuliński 8 lat temu
rodzic
commit
4f37a40e1a
1 zmienionych plików z 7 dodań i 0 usunięć
  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
  */
 export default class Enter extends Plugin {
+	/**
+	 * @inheritDoc
+	 */
+	static get pluginName() {
+		return 'enter/enter';
+	}
+
 	init() {
 		const editor = this.editor;
 		const editingView = editor.editing.view;