Type Editor / @type-editor/commands / join-backward
join-backward
Variables
| Variable | Description |
|---|---|
Joins or merges the current block with the one before it when the cursor is at the start of a textblock. This command implements comprehensive backward-joining behavior with multiple fallback strategies:
The command uses the view (if provided) for accurate bidirectional text detection to determine if the cursor is truly at the start of the block. Param The current editor state Param Optional dispatch function to execute the transaction Param Optional editor view for accurate cursor position detection Example typescript |