瀏覽代碼

Make notifications context plugin.

Piotr Jasiun 6 年之前
父節點
當前提交
e7205fd995
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      packages/ckeditor5-ui/src/notification/notification.js

+ 2 - 2
packages/ckeditor5-ui/src/notification/notification.js

@@ -9,7 +9,7 @@
 
 /* globals window */
 
-import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
+import ContextPlugin from '@ckeditor/ckeditor5-core/src/contextplugin';
 
 /**
  * The Notification plugin.
@@ -23,7 +23,7 @@ import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
  *
  * @extends module:core/plugin~Plugin
  */
-export default class Notification extends Plugin {
+export default class Notification extends ContextPlugin {
 	/**
 	 * @inheritDoc
 	 */