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): sentry-b0cfc9953ff64c53b9994697171bb91a (#9396)
doodlewind5e1d936c2e32
diff --git a/blocksuite/affine/shared/src/utils/dom/checker.ts b/blocksuite/affine/shared/src/utils/dom/checker.tsindex c06576fb61..fee17459d7 100644--- a/blocksuite/affine/shared/src/utils/dom/checker.ts+++ b/blocksuite/affine/shared/src/utils/dom/checker.ts@@ -7,6 +7,8 @@ export function isInsidePageEditor(host: EditorHost) {}export function isInsideEdgelessEditor(host: EditorHost) {+ if (!host) return false;+return Array.from(host.children).some(v =>v.tagName.toLowerCase() === 'affine-edgeless-root' ||