feat: add editor auto focus preference (#2498)

* feat: add editor auto focus perference

* feat: set editor auto focus
pull/2511/head
Mahoo Huang 1 year ago committed by GitHub
parent 38f05fd6f2
commit f67757f606
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -75,6 +75,7 @@ const MemoEditor = (props: Props) => {
useEffect(() => {
editorRef.current?.setContent(contentCache || "");
handleEditorFocus();
}, []);
useEffect(() => {

Loading…
Cancel
Save