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

@@ -28,8 +28,9 @@ This extension requires the [`ListItem`](/api/nodes/list-item) node.
| orderedList | — | Toggle an ordered list. |
## Keyboard shortcuts
* Windows/Linux: `Control` `Shift` `7`
* macOS: `Cmd` `Shift` `7`
| Command | Windows/Linux | macOS |
| ----------------- | ------------------------------- | --------------------------- |
| toggleOrderedList | `Control` `Shift` `7` | `Cmd` `Shift` `7` |
## Source code
[packages/extension-ordered-list/](https://github.com/ueberdosis/tiptap/blob/main/packages/extension-ordered-list/)