ckeditor5-livewire 1.2.7 → 1.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,6 +18,11 @@ export class UIPartComponentHook extends ClassHook<Snapshot> {
18
18
 
19
19
  // If the editor is not registered yet, we will wait for it to be registered.
20
20
  this.mountedPromise = EditorsRegistry.the.execute(editorId, (editor) => {
21
+ /* v8 ignore next 3 */
22
+ if (this.isBeingDestroyed()) {
23
+ return;
24
+ }
25
+
21
26
  const { ui } = editor;
22
27
 
23
28
  const uiViewName = mapUIPartView(name);