docs: make all node commands a list
This commit is contained in:
@@ -20,9 +20,13 @@ yarn add @tiptap/extension-hard-break
|
||||
| keepMarks | `Boolean` | `true` | Decides whether to keep marks after a line break. Based on the `keepOnSplit` option for marks. |
|
||||
|
||||
## Commands
|
||||
| Command | Parameters | Description |
|
||||
| ------------ | ---------- | ----------------- |
|
||||
| setHardBreak | — | Add a line break. |
|
||||
|
||||
### setHardBreak()
|
||||
Add a line break.
|
||||
|
||||
```js
|
||||
editor.commands.setHeardBreak()
|
||||
```
|
||||
|
||||
## Keyboard shortcuts
|
||||
| Command | Windows/Linux | macOS |
|
||||
|
||||
Reference in New Issue
Block a user