liftListItem command

The liftListItem will try to lift the list item around the current selection up into a wrapping parent list. Pass the name of the list item node, usually listItem, as the argument.

Using the liftListItem command

editor.commands.liftListItem('listItem')