format keyboard shortcuts

This commit is contained in:
Hans Pagel
2020-09-24 17:27:26 +02:00
parent 5f470d8851
commit 063e268479
15 changed files with 80 additions and 80 deletions

View File

@@ -23,8 +23,8 @@ yarn add @tiptap/extension-blockquote
| blockquote | — | Wrap content in a blockquote. | | blockquote | — | Wrap content in a blockquote. |
## Keyboard shortcuts ## Keyboard shortcuts
* Windows & Linux: `Control` + `Shift` + `9` * Windows & Linux: `Control ` `Shift ` `9`
* macOS: `Command` + `Shift` + `9` * macOS: `Command ` `Shift ` `9`
## Source code ## Source code
[packages/extension-blockquote/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-blockquote/) [packages/extension-blockquote/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-blockquote/)

View File

@@ -27,8 +27,8 @@ yarn add @tiptap/extension-bold
| bold | — | Mark text bold. | | bold | — | Mark text bold. |
## Keyboard shortcuts ## Keyboard shortcuts
* Windows & Linux: `Control` + `B` * Windows & Linux: `Control ` `B`
* macOS: `Command` + `B` * macOS: `Command ` `B`
## Source code ## Source code
[packages/extension-bold/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-bold/) [packages/extension-bold/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-bold/)

View File

@@ -27,7 +27,7 @@ yarn add @tiptap/extension-bullet-list @tiptap/extension-list-item
| bullet_list | — | Toggle a bullet list. | | bullet_list | — | Toggle a bullet list. |
## Keyboard shortcuts ## Keyboard shortcuts
* `Control` + `Shift` + `8` * `Control ` `Shift ` `8`
## Source code ## Source code
[packages/extension-bullet-list/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-bullet-list/) [packages/extension-bullet-list/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-bullet-list/)

View File

@@ -27,7 +27,7 @@ yarn add @tiptap/extension-code-block
| codeBlock | — | Wrap content in a code block. | | codeBlock | — | Wrap content in a code block. |
## Keyboard shortcuts ## Keyboard shortcuts
* `Shift` + `Control` + `\` * `Shift ` `Control ` `\`
## Source code ## Source code
[packages/extension-code-block/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-code-block/) [packages/extension-code-block/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-code-block/)

View File

@@ -23,7 +23,7 @@ yarn add @tiptap/extension-code
| code | — | Mark text as inline code. | | code | — | Mark text as inline code. |
## Keyboard shortcuts ## Keyboard shortcuts
* `Alt` + ` * `Alt ` `
## Source code ## Source code
[packages/extension-code/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-code/) [packages/extension-code/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-code/)

View File

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

View File

@@ -24,12 +24,12 @@ yarn add @tiptap/extension-heading
| heading | level | Creates a heading node. | | heading | level | Creates a heading node. |
## Keyboard shortcuts ## Keyboard shortcuts
* `Control` + `Shift` + `1` → H1 * `Control ` `Shift ` `1` → H1
* `Control` + `Shift` + `2` → H2 * `Control ` `Shift ` `2` → H2
* `Control` + `Shift` + `3` → H3 * `Control ` `Shift ` `3` → H3
* `Control` + `Shift` + `4` → H4 * `Control ` `Shift ` `4` → H4
* `Control` + `Shift` + `5` → H5 * `Control ` `Shift ` `5` → H5
* `Control` + `Shift` + `6` → H6 * `Control ` `Shift ` `6` → H6
## Source code ## Source code
[packages/extension-heading/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-heading/) [packages/extension-heading/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-heading/)

View File

@@ -23,12 +23,12 @@ yarn add @tiptap/extension-history
## Keyboard shortcuts ## Keyboard shortcuts
### Undo ### Undo
* Windows & Linux: `Control` + `Z` * Windows & Linux: `Control ` `Z`
* macOS: `Command` + `Z` * macOS: `Command ` `Z`
### Redo ### Redo
* Windows & Linux: `Shift` + `Control` + `Z` * Windows & Linux: `Shift ` `Control ` `Z`
* macOS: `Shift` + `Command` + `Z` * macOS: `Shift ` `Command ` `Z`
## Source code ## Source code
[packages/extension-history/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-history/) [packages/extension-history/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-history/)

View File

@@ -27,8 +27,8 @@ yarn add @tiptap/extension-italic
| italic | — | Mark text italic. | | italic | — | Mark text italic. |
## Keyboard shortcuts ## Keyboard shortcuts
* Windows & Linux: `Control` + `I` * Windows & Linux: `Control ` `I`
* macOS: `Command` + `I` * macOS: `Command ` `I`
## Source code ## Source code
[packages/extension-italic/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-italic/) [packages/extension-italic/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-italic/)

View File

@@ -22,8 +22,8 @@ yarn add @tiptap/extension-link
| link | — | Link the selected text. | | link | — | Link the selected text. |
## Keyboard shortcuts ## Keyboard shortcuts
* Windows & Linux: `Control` + `K` * Windows & Linux: `Control ` `K`
* macOS: `Command` + `K` * macOS: `Command ` `K`
## Source code ## Source code
[packages/extension-link/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-link/) [packages/extension-link/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-link/)

View File

@@ -25,7 +25,7 @@ yarn add @tiptap/extension-list-item
## Keyboard shortcuts ## Keyboard shortcuts
* New list item: `Enter` * New list item: `Enter`
* Sink a list item: `Tab` * Sink a list item: `Tab`
* Lift a list item: `Shift` + `Tab` * Lift a list item: `Shift ` `Tab`
## Source code ## Source code
[packages/extension-list-item/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-list-item/) [packages/extension-list-item/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-list-item/)

View File

@@ -27,7 +27,7 @@ yarn add @tiptap/extension-ordered-list @tiptap/extension-list-item
| ordered_list | — | Toggle a ordered list. | | ordered_list | — | Toggle a ordered list. |
## Keyboard shortcuts ## Keyboard shortcuts
* `Control` + `Shift` + `9` * `Control ` `Shift ` `9`
## Source code ## Source code
[packages/extension-ordered-list/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-ordered-list/) [packages/extension-ordered-list/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-ordered-list/)

View File

@@ -27,8 +27,8 @@ yarn add @tiptap/extension-strike
| strike | — | Mark text as strikethrough. | | strike | — | Mark text as strikethrough. |
## Keyboard shortcuts ## Keyboard shortcuts
* Windows & Linux: `Control` + `D` * Windows & Linux: `Control ` `D`
* macOS: `Command` + `D` * macOS: `Command ` `D`
## Source code ## Source code
[packages/extension-strike/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-strike/) [packages/extension-strike/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-strike/)

View File

@@ -27,8 +27,8 @@ yarn add @tiptap/extension-underline
| underline | — | Mark text as underlined. | | underline | — | Mark text as underlined. |
## Keyboard shortcuts ## Keyboard shortcuts
* Windows & Linux: `Control` + `U` * Windows & Linux: `Control ` `U`
* macOS: `Command` + `U` * macOS: `Command ` `U`
## Source code ## Source code
[packages/extension-underline/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-underline/) [packages/extension-underline/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-underline/)

View File

@@ -34,7 +34,7 @@ new Editor({
### Essentials ### Essentials
| Action | Windows/Linux | macOS | | Action | Windows/Linux | macOS |
| ------------------------ | --------------------- | --------------------- | | ------------------------ | --------------------- | ----------------- |
| Copy | `Control` `C` | `Cmd` `C` | | Copy | `Control` `C` | `Cmd` `C` |
| Cut | `Control` `X` | `Cmd` `X` | | Cut | `Control` `X` | `Cmd` `X` |
| Paste | `Control` `V` | `Cmd` `V` | | Paste | `Control` `V` | `Cmd` `V` |
@@ -52,7 +52,7 @@ new Editor({
### Text Formatting ### Text Formatting
| Action | Windows/Linux | macOS | | Action | Windows/Linux | macOS |
| --------------------- | --------------------------------------------- | ---------------------- | | --------------------- | --------------------------------------------- | ----------------- |
| Bold | `Control` `B` | `Cmd` `B` | | Bold | `Control` `B` | `Cmd` `B` |
| Italicize | `Control` `I` | `Cmd` `I` | | Italicize | `Control` `I` | `Cmd` `I` |
| Underline | `Control` `U` | `Cmd` `U` | | Underline | `Control` `U` | `Cmd` `U` |
@@ -67,7 +67,7 @@ new Editor({
### Paragraph Formatting ### Paragraph Formatting
| Action | Windows/Linux | macOS | | Action | Windows/Linux | macOS |
| ------------------------------ | ---------------------- | ---------------------- | | ------------------------------ | --------------------- | --------------------- |
| Increase paragraph indentation | `Control` `]` | `Cmd` `]` | | Increase paragraph indentation | `Control` `]` | `Cmd` `]` |
| Decrease paragraph indentation | `Control` `[` | `Cmd` `[` | | Decrease paragraph indentation | `Control` `[` | `Cmd` `[` |
| Apply normal text style | `Control` `Alt` `0` | `Cmd` `Alt` `0` | | Apply normal text style | `Control` `Alt` `0` | `Cmd` `Alt` `0` |
@@ -88,7 +88,7 @@ new Editor({
### Text Selection ### Text Selection
| Action | Windows/Linux | macOS | | Action | Windows/Linux | macOS |
| ------------------------------------------------- | --------------------- | --------------------- | | ------------------------------------------------- | --------------------- | ----------------- |
| Select all | `Control` `A` | `Cmd` `A` | | Select all | `Control` `A` | `Cmd` `A` |
| Extend selection one character to left | `Shift` `←` | `Shift` `←` | | Extend selection one character to left | `Shift` `←` | `Shift` `←` |
| Extend selection one character to right | `Shift` `→` | `Shift` `→` | | Extend selection one character to right | `Shift` `→` | `Shift` `→` |