tiptap/docs/api/commands/lift-empty-block.md

8 lines
241 B
Markdown
Raw Normal View History

2021-04-21 17:03:33 +08:00
# 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.
2021-04-21 17:03:33 +08:00
## Usage
```js
editor.commands.liftEmptyBlock()
```