mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-23 08:47:50 +08:00
241 B
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()