Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
fix: update the newline key in codemirror (#4876)
Nivedinacd190f3e97a
diff --git a/packages/hoppscotch-common/src/composables/codemirror.ts b/packages/hoppscotch-common/src/composables/codemirror.tsindex 42a8690a5..3cff1b1c3 100644--- a/packages/hoppscotch-common/src/composables/codemirror.ts+++ b/packages/hoppscotch-common/src/composables/codemirror.ts@@ -402,7 +402,8 @@ export function useCodemirror(Prec.highest(keymap.of([{- key: "Cmd-Enter" /* macOS */ || "Ctrl-Enter" /* Windows */,+ key: "Ctrl-Enter" /* Windows */,+ mac: "Cmd-Enter" /* Mac */,preventDefault: true,run: () => true,},