From b7e9f2481bdd992f8567a5920bdbd14a4a5bc7af Mon Sep 17 00:00:00 2001 From: Julius Volz Date: Tue, 10 Aug 2021 17:10:41 +0200 Subject: [PATCH] Remove search keymap from new expression editor (#9184) Signed-off-by: Julius Volz --- web/ui/react-app/src/pages/graph/CMExpressionInput.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web/ui/react-app/src/pages/graph/CMExpressionInput.tsx b/web/ui/react-app/src/pages/graph/CMExpressionInput.tsx index 644760f8d6..668d2f6fda 100644 --- a/web/ui/react-app/src/pages/graph/CMExpressionInput.tsx +++ b/web/ui/react-app/src/pages/graph/CMExpressionInput.tsx @@ -8,7 +8,7 @@ import { history, historyKeymap } from '@codemirror/history'; import { defaultKeymap, insertNewlineAndIndent } from '@codemirror/commands'; import { bracketMatching } from '@codemirror/matchbrackets'; import { closeBrackets, closeBracketsKeymap } from '@codemirror/closebrackets'; -import { searchKeymap, highlightSelectionMatches } from '@codemirror/search'; +import { highlightSelectionMatches } from '@codemirror/search'; import { commentKeymap } from '@codemirror/comment'; import { lintKeymap } from '@codemirror/lint'; import { PromQLExtension, CompleteStrategy } from 'codemirror-promql'; @@ -139,7 +139,6 @@ const CMExpressionInput: FC = ({ keymap.of([ ...closeBracketsKeymap, ...defaultKeymap, - ...searchKeymap, ...historyKeymap, ...commentKeymap, ...completionKeymap,