diff --git a/web/src/components/MemoEditor/index.tsx b/web/src/components/MemoEditor/index.tsx index 163d52b60..8151c896d 100644 --- a/web/src/components/MemoEditor/index.tsx +++ b/web/src/components/MemoEditor/index.tsx @@ -74,6 +74,8 @@ const MemoEditorImpl: React.FC = ({ const handleTableConfirm = useCallback((markdown: string) => { editorRef.current?.insertText(markdown); + setTableDialogOpen(false); + editorRef.current?.focus(); }, []); useKeyboard(editorRef, handleSave);