fix(editor): v-element may get undefined inline editor (#11697)

This commit is contained in:
Flrande committed 2025-04-15 08:22:39 +00:00
1 parent 46f3dfc64c
commit fd6c34cfa3
1 file changed
+1 -1
@@ -23,7 +23,7 @@ export class VElement<
this.disposables.add(
effect(() => {
const inlineRange = this.inlineEditor.inlineRange$.value;
const inlineRange = this.inlineEditor?.inlineRange$.value;
this.selected.value =
!!inlineRange &&
isInlineRangeIntersect(inlineRange, {