diff --git a/web/src/components/MemoEditor/hooks/useAutoComplete.ts b/web/src/components/MemoEditor/hooks/useAutoComplete.ts index eb104e461..e28e1b1c1 100644 --- a/web/src/components/MemoEditor/hooks/useAutoComplete.ts +++ b/web/src/components/MemoEditor/hooks/useAutoComplete.ts @@ -10,6 +10,9 @@ const useAutoComplete = (actions: EditorRefActions) => { editor.addEventListener("keydown", (event) => { if (event.key === "Enter") { + if (event.isComposing) { + return; + } const cursorPosition = actions.getCursorPosition(); const prevContent = actions.getContent().substring(0, cursorPosition); const lastNode = last(window.parse(prevContent));