Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Fix a typo in comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
jodator committed Jan 15, 2019
1 parent 699d586 commit 917f7ed
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/imagetextalternative/imagetextalternativeui.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,16 @@ export default class ImageTextAlternativeUI extends Plugin {
this._createForm();
}

/**
* @inheritDoc
*/
destroy() {
super.destroy();

// Destroy created UI components as they are not automatically destroyed (see ckeditor5#1341).
this._form.destroy();
}

/**
* Creates a button showing the balloon panel for changing the image text alternative and
* registers it in the editor {@link module:ui/componentfactory~ComponentFactory ComponentFactory}.
Expand Down

0 comments on commit 917f7ed

Please sign in to comment.