Type Editor / @type-editor/commands / auto-delete-link
auto-delete-link
Functions
| Function | Description |
|---|---|
Creates a command that removes link marks from the current selection or cursor position. If the cursor is positioned within a link (empty selection), the command will automatically extend the selection to cover the entire linked text range before removing the link mark. If there's an active selection, it removes the link mark from the entire selected range. Example typescript |