Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
fix: toggle focus mode do not reset editor height (#5504)
longhe.li0729779e0427
diff --git a/web/src/components/MemoEditor/Editor/index.tsx b/web/src/components/MemoEditor/Editor/index.tsxindex d801d222c..6cce83cc9 100644--- a/web/src/components/MemoEditor/Editor/index.tsx+++ b/web/src/components/MemoEditor/Editor/index.tsx@@ -181,6 +181,11 @@ const Editor = forwardRef(function Editor(props: EditorProps, ref: React.ForwardisInIME,});+ // Recalculate editor height when focus mode changes+ useEffect(() => {+ updateEditorHeight();+ }, [isFocusMode, updateEditorHeight]);+return (<divclassName={cn(