change keyboard shortcut for code blocks, should fix tests

This commit is contained in:
Hans Pagel
2020-10-12 20:28:04 +02:00
parent a237db377b
commit 3e3f4444e4
3 changed files with 6 additions and 5 deletions

View File

@@ -28,7 +28,8 @@ yarn add @tiptap/extension-code-block
| codeBlock | — | Wrap content in a code block. |
## Keyboard shortcuts
* `Shift` `Control` `\`
* Windows/Linux: `Control` `Shift` `C`
* macOS: `Cmd` `Shift` `C`
## Source code
[packages/extension-code-block/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-code-block/)