The liftListItem will try to lift the list item around the current selection up into a wrapping parent list.
liftListItem
editor.commands.liftListItem()