diff --git a/packages/component/src/components/block-suite-editor/index.tsx b/packages/component/src/components/block-suite-editor/index.tsx index f409bdd6c1..093eec3de2 100644 --- a/packages/component/src/components/block-suite-editor/index.tsx +++ b/packages/component/src/components/block-suite-editor/index.tsx @@ -33,6 +33,7 @@ const BlockSuiteEditorImpl = (props: EditorProps): ReactElement => { const blockHubRef = useRef(null); if (editorRef.current === null) { editorRef.current = new EditorContainer(); + editorRef.current.autofocus = true; globalThis.currentEditor = editorRef.current; } const editor = editorRef.current;