diff --git a/packages/ckeditor5-widget/src/widgetresize.js b/packages/ckeditor5-widget/src/widgetresize.js index 71a453a52a5..19804def487 100644 --- a/packages/ckeditor5-widget/src/widgetresize.js +++ b/packages/ckeditor5-widget/src/widgetresize.js @@ -33,6 +33,9 @@ export default class WidgetResize extends Plugin { return 'WidgetResize'; } + /** + * @inheritDoc + */ init() { /** * The currently visible resizer. @@ -103,6 +106,9 @@ export default class WidgetResize extends Plugin { } ); } + /** + * @inheritDoc + */ destroy() { this._observer.stopListening();