fix(editor): v-element may get undefined inline editor (#11697)
This commit is contained in:
1 file changed
+1
-1
@@ -23,7 +23,7 @@ export class VElement<
|
|||||||
|
|
||||||
this.disposables.add(
|
this.disposables.add(
|
||||||
effect(() => {
|
effect(() => {
|
||||||
const inlineRange = this.inlineEditor.inlineRange$.value;
|
const inlineRange = this.inlineEditor?.inlineRange$.value;
|
||||||
this.selected.value =
|
this.selected.value =
|
||||||
!!inlineRange &&
|
!!inlineRange &&
|
||||||
isInlineRangeIntersect(inlineRange, {
|
isInlineRangeIntersect(inlineRange, {
|
||||||
|
|||||||
Reference in new issue
Block a user