change keyboard shortcut for code blocks, should fix tests
This commit is contained in:
@@ -60,7 +60,7 @@ export default new Node<CodeBlockOptions>()
|
||||
},
|
||||
}))
|
||||
.keys(({ editor }) => ({
|
||||
'Shift-Control-\\': () => editor.codeBlock(),
|
||||
'Mod-Shift-c': () => editor.codeBlock(),
|
||||
}))
|
||||
.inputRules(({ type }) => [
|
||||
textblockTypeInputRule(backtickInputRegex, type, ({ groups }: any) => groups),
|
||||
|
||||
Reference in New Issue
Block a user