tiptap/docs/api/commands/split-list-item.md
2022-06-08 12:41:14 +02:00

330 B

splitListItem

splitListItem splits one list item into two separate list items. If this is a nested list, the wrapping list item should be split.

Parameters

typeOrName: string | NodeType

The type of node that should be split into two separate list items.

Usage

editor.commands.splitListItem('bullet_list')