There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
fix(editor): v-element may get undefined inline editor (#11697)
Flrandefd6c34cfa37f
diff --git a/blocksuite/framework/std/src/inline/components/v-element.ts b/blocksuite/framework/std/src/inline/components/v-element.tsindex 5bd2a020be..1c6a71961f 100644--- a/blocksuite/framework/std/src/inline/components/v-element.ts+++ b/blocksuite/framework/std/src/inline/components/v-element.ts@@ -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, {