fix: update the newline key in codemirror (#4876)
Co-authored-by: Jai A P <jai.jap.318@gmail.com>
This commit is contained in:
parent
6bd2574cba
commit
acd190f3e9
1 changed files with 2 additions and 1 deletions
|
|
@ -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,
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue