docs: make all node keyboard shortcuts a table
This commit is contained in:
@@ -21,9 +21,11 @@ This extension requires the [`BulletList`](/api/nodes/bullet-list) or [`OrderedL
|
||||
| HTMLAttributes | `Object` | `{}` | Custom HTML attributes that should be added to the rendered HTML tag. |
|
||||
|
||||
## Keyboard shortcuts
|
||||
* New list item: `Enter`
|
||||
* Sink a list item: `Tab`
|
||||
* Lift a list item: `Shift` `Tab`
|
||||
| Command | Windows/Linux | macOS |
|
||||
| --------------- | ------------------ | ------------------ |
|
||||
| splitListItem() | `Enter` | `Enter` |
|
||||
| sinkListItem() | `Tab` | `Tab` |
|
||||
| liftListItem() | `Shift` `Tab` | `Shift` `Tab` |
|
||||
|
||||
## Source code
|
||||
[packages/extension-list-item/](https://github.com/ueberdosis/tiptap/blob/main/packages/extension-list-item/)
|
||||
|
||||
Reference in New Issue
Block a user