@@ -102,13 +102,11 @@ export default class BalloonEditor extends Editor {
const data = this.getData();
this.ui.destroy();
- this.ui = null;
return super.destroy()
.then( () => {
if ( this.sourceElement ) {
setDataInElement( this.sourceElement, data );
- this.sourceElement = null;
}
} );