diff --git a/packages/svelte-lexical/src/core/plugins/HorizontalRuleComponent.svelte b/packages/svelte-lexical/src/core/plugins/HorizontalRuleComponent.svelte index 55eb883..333b88d 100644 --- a/packages/svelte-lexical/src/core/plugins/HorizontalRuleComponent.svelte +++ b/packages/svelte-lexical/src/core/plugins/HorizontalRuleComponent.svelte @@ -33,7 +33,6 @@ if (isHorizontalRuleNode(node)) { node.remove(); } - $isSelected = false; } return false; } diff --git a/packages/svelte-lexical/src/core/plugins/Image/ImageComponent.svelte b/packages/svelte-lexical/src/core/plugins/Image/ImageComponent.svelte index d9dd283..36a906a 100644 --- a/packages/svelte-lexical/src/core/plugins/Image/ImageComponent.svelte +++ b/packages/svelte-lexical/src/core/plugins/Image/ImageComponent.svelte @@ -83,7 +83,6 @@ if (isImageNode(node)) { node.remove(); } - $isSelected = false; } return false; };