mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-09 21:04:49 +08:00
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)
This commit is contained in:
@@ -331,6 +331,7 @@ function AgentCanvas({ drawerVisible, hideDrawer }: IProps) {
|
||||
}}
|
||||
deleteKeyCode={['Delete', 'Backspace']}
|
||||
onBeforeDelete={handleBeforeDelete}
|
||||
panActivationKeyCode={null}
|
||||
>
|
||||
<AgentBackground></AgentBackground>
|
||||
<Spotlight className="z-0" opcity={0.7} coverage={70} />
|
||||
|
||||
Reference in New Issue
Block a user