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

@@ -25,9 +25,9 @@ yarn add @tiptap/extension-hard-break
| setHardBreak | — | Add a line break. |
## Keyboard shortcuts
* `Shift` `Enter`
* Windows/Linux: `Control` `Enter`
* macOS: `Cmd` `Enter`
| Command | Windows/Linux | macOS |
| ------------ | ---------------------------------------------- | ------------------------------------------ |
| setHardBreak | `Shift`&nbsp;`Enter`<br>`Control`&nbsp;`Enter` | `Shift`&nbsp;`Enter`<br>`Cmd`&nbsp;`Enter` |
## Source code
[packages/extension-hard-break/](https://github.com/ueberdosis/tiptap/blob/main/packages/extension-hard-break/)