mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-05 04:19:07 +08:00
347 B
347 B
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
editor.commands.createParagraphNear()