Selaa lähdekoodia

Feature: Named existing plugin(s).

Piotrek Koszuliński 8 vuotta sitten
vanhempi
commit
6af80ec224
1 muutettua tiedostoa jossa 7 lisäystä ja 0 poistoa
  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;