mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-26 02:37:49 +08:00
8 lines
347 B
Markdown
8 lines
347 B
Markdown
# createParagraphNear
|
|
If a block node is currently selected, the `createParagraphNear` command creates an empty paragraph after the currently selected block node. If the selected block node is the first child of its parent, the new paragraph will be inserted before the current selection.
|
|
|
|
## Usage
|
|
```js
|
|
editor.commands.createParagraphNear()
|
|
```
|