mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
feat: add editor auto focus preference (#2498)
* feat: add editor auto focus perference * feat: set editor auto focus
This commit is contained in:
@ -75,6 +75,7 @@ const MemoEditor = (props: Props) => {
|
||||
|
||||
useEffect(() => {
|
||||
editorRef.current?.setContent(contentCache || "");
|
||||
handleEditorFocus();
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
|
Reference in New Issue
Block a user