Browse Source

Feature: Named existing plugin(s).

Piotrek Koszuliński 8 năm trước cách đây
mục cha
commit
45c350ab9a

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

@@ -29,6 +29,13 @@ import '../theme/theme.scss';
  * @extends module:core/plugin~Plugin.
  * @extends module:core/plugin~Plugin.
  */
  */
 export default class Widget extends Plugin {
 export default class Widget extends Plugin {
+	/**
+	 * @inheritDoc
+	 */
+	static get pluginName() {
+		return 'widget/widget';
+	}
+
 	/**
 	/**
 	 * @inheritDoc
 	 * @inheritDoc
 	 */
 	 */