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