# Link The link mark with a URL popover in the toolbar. ## Installation ```bash npx shadcn@latest add litingyes/blocove/rich-text-editor-link ``` > Typography requires [shadcn/typeset](https://ui.shadcn.com/docs/typeset). Copy `typeset.css` next to your main stylesheet, import it after Tailwind and add the `.typeset-docs` preset. ## API Reference ### EditorLink Registers the link mark. Links do not open on click while editing; the toolbar popover inserts, replaces and removes them. | Prop | Type | Default | | --- | --- | --- | | `...options` | `Partial` | - | ### EditorLinkToolbar URL popover with Apply and Remove actions. Inputs without a protocol get https://, while mailto: and tel: are kept. | Prop | Type | Default | | --- | --- | --- | | `className` | `string` | - | ## Registry dependencies - `litingyes/blocove/rich-text-editor` - `litingyes/blocove/rich-text-editor-extension` - `button` - `input` - `popover` Namespace: `npx shadcn@latest add @blocove/rich-text-editor-link`