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: std might not be ready when onLoad invoked (#6075)
Lye Hongtaod5386bee4180
diff --git a/packages/frontend/core/src/components/page-detail-editor.tsx b/packages/frontend/core/src/components/page-detail-editor.tsxindex 6fb824b7c8..cbdbc067f0 100644--- a/packages/frontend/core/src/components/page-detail-editor.tsx+++ b/packages/frontend/core/src/components/page-detail-editor.tsx@@ -88,6 +88,7 @@ const PageDetailEditorMain = memo(function PageDetailEditorMain({if (onLoad) {// Invoke onLoad once the editor has been mounted to the DOM.editor.updateComplete+ .then(() => editor.host.updateComplete).then(() => {disposableGroup.add(onLoad(page, editor));})