fix(editor): v-element may get undefined inline editor (#11697)
This commit is contained in:
@@ -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