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
chore: remove ESC to close edit (#726)
boojack564f20d13a00
diff --git a/web/src/components/MemoEditor.tsx b/web/src/components/MemoEditor.tsxindex e88b113d6..fc9bf0222 100644--- a/web/src/components/MemoEditor.tsx+++ b/web/src/components/MemoEditor.tsx@@ -141,8 +141,6 @@ const MemoEditor = () => {if (event.key === "Escape") {if (state.fullscreen) {handleFullscreenBtnClick();- } else if (editorState.editMemoId) {- handleCancelEdit();}return;}@@ -364,7 +362,7 @@ const MemoEditor = () => {};const handleEditorBlur = () => {- // do nth+ // do nothing};const isEditing = Boolean(editorState.editMemoId && editorState.editMemoId !== UNKNOWN_ID);