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