🎁 100 free AI Toolkit licenses – apply by August 15.Learn more

liftEmptyBlock command

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.

Using the liftEmptyBlock command

editor.commands.liftEmptyBlock()