docs: make all node commands a list
This commit is contained in:
@@ -29,9 +29,13 @@ HorizontalRule.configure({
|
||||
```
|
||||
|
||||
## Commands
|
||||
| Command | Parameters | Description |
|
||||
| -------------- | ---------- | ------------------------- |
|
||||
| horizontalRule | — | Create a horizontal rule. |
|
||||
|
||||
### setHorizontalRule()
|
||||
Create a horizontal rule.
|
||||
|
||||
```js
|
||||
editor.commands.setHorizontalRule()
|
||||
```
|
||||
|
||||
## Source code
|
||||
[packages/extension-horizontal-rule/](https://github.com/ueberdosis/tiptap/blob/main/packages/extension-horizontal-rule/)
|
||||
|
||||
Reference in New Issue
Block a user