docs: make all node keyboard shortcuts a table

This commit is contained in:
Hans Pagel
2021-10-01 22:57:27 +02:00
parent 6863626a7a
commit a89e2eed29
14 changed files with 44 additions and 30 deletions

View File

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