API reference: @salmonui/rich-text
RichTextLinkInputinterface
import type { RichTextLinkInput } from '@salmonui/rich-text';interface RichTextLinkInput {
readonly href: string;
readonly text?: string | undefined;
readonly title?: string | undefined;
readonly target?: '_blank' | null | undefined;
}
| Name | Signature | Description |
|---|---|---|
href | readonly href: string; | |
textoptional | readonly text?: string | undefined; | Link text inserted when the selection is empty (default the URL). |
titleoptional | readonly title?: string | undefined; | |
targetoptional | readonly target?: '_blank' | null | undefined; |
|