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