Unverified Commit 564f20d1 authored by boojack's avatar boojack Committed by GitHub

chore: remove ESC to close edit (#726)

parent c3adb1b1
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment