mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-19 05:37:51 +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()