Type Editor / @type-editor/commands / insert-hard-break
insert-hard-break
Functions
| Function | Description |
|---|---|
Creates a command that inserts a hard break (line break) at the current selection. The hard break replaces the current selection and scrolls the view to ensure the inserted break is visible. |