mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
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(
|
||||
effect(() => {
|
||||
const inlineRange = this.inlineEditor.inlineRange$.value;
|
||||
const inlineRange = this.inlineEditor?.inlineRange$.value;
|
||||
this.selected.value =
|
||||
!!inlineRange &&
|
||||
isInlineRangeIntersect(inlineRange, {
|
||||
|
||||
Reference in New Issue
Block a user