diff --git a/ghost/admin/lib/koenig-editor/addon/components/koenig-card-callout.js b/ghost/admin/lib/koenig-editor/addon/components/koenig-card-callout.js index 0ad246e349..20cbf25973 100644 --- a/ghost/admin/lib/koenig-editor/addon/components/koenig-card-callout.js +++ b/ghost/admin/lib/koenig-editor/addon/components/koenig-card-callout.js @@ -95,6 +95,11 @@ export default class KoenigCardCalloutComponent extends Component { }); } + willDestroy() { + super.willDestroy(...arguments); + this.picker.destroyPicker(); + } + // required for snippet rects to be calculated - editor reaches in to component, // expecting a non-Glimmer component with a .element property @action