docs: make all extension keyboard shortcuts a table
This commit is contained in:
@@ -33,13 +33,10 @@ yarn add @tiptap/extension-collaboration yjs y-websocket
|
||||
| redo | — | Redo the last change. |
|
||||
|
||||
## Keyboard shortcuts
|
||||
### Undo
|
||||
* Windows/Linux: `Control` `Z`
|
||||
* macOS: `Cmd` `Z`
|
||||
|
||||
### Redo
|
||||
* Windows/Linux: `Shift` `Control` `Z` or `Control` `Y`
|
||||
* macOS: `Shift` `Cmd` `Z` or `Cmd` `Y`
|
||||
| Command | Windows/Linux | macOS |
|
||||
| ------- | ----------------------------------------------------- | --------------------------------------------- |
|
||||
| undo() | `Control` `Z` | `Cmd` `Z` |
|
||||
| redo() | `Shift` `Control` `Z`<br>`Control` `Y` | `Shift` `Cmd` `Z`<br>`Cmd` `Y` |
|
||||
|
||||
## Source code
|
||||
[packages/extension-collaboration/](https://github.com/ueberdosis/tiptap/blob/main/packages/extension-collaboration/)
|
||||
|
||||
Reference in New Issue
Block a user