rework keyboard shortcuts

This commit is contained in:
Hans Pagel
2020-11-19 01:16:10 +01:00
parent 56f1726850
commit a4cc02cff6
25 changed files with 211 additions and 83 deletions

View File

@@ -23,11 +23,18 @@ yarn add @tiptap/extension-text-align
| textAlign | alignment | Set the text align to the specified value. |
## Keyboard shortcuts
### Windows/Linux
* `Ctrl` `Shift` `L` Left
* `Ctrl` `Shift` `E` Center
* `Ctrl` `Shift` `R` Right
* `Ctrl` `Shift` `J` Justify
### macOS
* `Cmd` `Shift` `L` Left
* `Cmd` `Shift` `E` Center
* `Cmd` `Shift` `R` Right
* `Cmd` `Shift` `J` Justify
## Source code
[packages/extension-text-align/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-text-align/)