From 7406a241e6f5d74e45a4cb58523bf345a2473f99 Mon Sep 17 00:00:00 2001 From: nivedin Date: Thu, 4 Jan 2024 15:13:29 +0530 Subject: [PATCH] refactor: disable context menu for test and pre request test --- .../hoppscotch-common/src/components/http/PreRequestScript.vue | 1 + packages/hoppscotch-common/src/components/http/Tests.vue | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/hoppscotch-common/src/components/http/PreRequestScript.vue b/packages/hoppscotch-common/src/components/http/PreRequestScript.vue index ecfb456fd..08c80a11e 100644 --- a/packages/hoppscotch-common/src/components/http/PreRequestScript.vue +++ b/packages/hoppscotch-common/src/components/http/PreRequestScript.vue @@ -99,6 +99,7 @@ useCodemirror( linter, completer, environmentHighlights: false, + contextMenuEnabled: false, }) ) diff --git a/packages/hoppscotch-common/src/components/http/Tests.vue b/packages/hoppscotch-common/src/components/http/Tests.vue index 2f22b8732..63316fe59 100644 --- a/packages/hoppscotch-common/src/components/http/Tests.vue +++ b/packages/hoppscotch-common/src/components/http/Tests.vue @@ -95,6 +95,7 @@ useCodemirror( linter, completer, environmentHighlights: false, + contextMenuEnabled: false, }) )