From 09622c6353c0cabbf5f25385641ed73600ae109f Mon Sep 17 00:00:00 2001 From: balibabu Date: Fri, 17 Apr 2026 21:41:39 +0800 Subject: [PATCH] Fix: Spaces cannot be entered in the code editor of the code operator. (#14183) ### What problem does this PR solve? Fix: Spaces cannot be entered in the code editor of the code operator. [Monaco Editor with XYFlow fails to accept most space bar keypresses, who is at fault? #5204](https://github.com/microsoft/monaco-editor/discussions/5204) ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- web/src/pages/agent/canvas/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/web/src/pages/agent/canvas/index.tsx b/web/src/pages/agent/canvas/index.tsx index a7c79faea..7e6b0c345 100644 --- a/web/src/pages/agent/canvas/index.tsx +++ b/web/src/pages/agent/canvas/index.tsx @@ -331,6 +331,7 @@ function AgentCanvas({ drawerVisible, hideDrawer }: IProps) { }} deleteKeyCode={['Delete', 'Backspace']} onBeforeDelete={handleBeforeDelete} + panActivationKeyCode={null} >