-
Notifications
You must be signed in to change notification settings - Fork 84
Closed
Milestone
Description
The @destroy
event has one argument, which was meant to be the editor instance. However, because this instance is removed before the event is fired, the argument is always null
.
Lines 164 to 171 in d3f27a6
if ( this.instance ) { | |
this.instance.destroy(); | |
this.instance = null; | |
} | |
// Note: By the time the editor is destroyed (promise resolved, editor#destroy fired) | |
// the Vue component will not be able to emit any longer. So emitting #destroy a bit earlier. | |
this.$emit( 'destroy', this.instance ); |
Metadata
Metadata
Assignees
Labels
No labels