Type Editor / @type-editor/commands / del / del
Variable: del
ts
const del: Command;Defined in: del.ts:18
Default command for the delete/forward-delete key.
This command chains together three operations:
- Delete the selection if one exists
- Try to join with the block after the cursor
- Try to select the node after the cursor
This provides comprehensive forward-delete behavior for most editing scenarios.