tiptap/docs/api/commands/lift-empty-block.md
2022-06-08 12:15:59 +02:00

241 B

liftEmptyBlock

If the currently selected block is an empty textblock, lift it if possible. Lifting means, that the block will be moved to the parent of the block it is currently in.

Usage

editor.commands.liftEmptyBlock()