Type Editor / @type-editor/commands / join-up
join-up
Variables
| Variable | Description |
|---|---|
Joins the selected block with the block above it. This command attempts to join the selected block (or the closest ancestor block) with its previous sibling. The behavior differs based on the selection type:
When a node selection is used and the join succeeds, the command will automatically select the joined node to maintain the user's selection context. The command will fail if:
Param The current editor state Param Optional dispatch function to execute the transaction Example typescript |