Parcourir la source

Feature: Named existing plugin(s).

Piotrek Koszuliński il y a 8 ans
Parent
commit
3a44797e20
1 fichiers modifiés avec 7 ajouts et 0 suppressions
  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();