# BlockEditorLabels (@salmonui/rich-text)

> The BlockEditorLabels interface of @salmonui/rich-text: Labels: inserted as label atoms. An item's tone colors the label.

Canonical: https://salmonui.dev/docs/reference/rich-text/BlockEditorLabels

```ts
import type { BlockEditorLabels } from '@salmonui/rich-text';
```

Entry index: https://salmonui.dev/docs/reference/rich-text (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/rich-text.md).

## Reference

Kind: interface

```ts
interface BlockEditorLabels<T = MentionItem & {
    readonly tone?: string;
}> {
    readonly trigger?: string;
    readonly items: MentionData<T>;
}
```

Labels: inserted as label atoms. An item's `tone` colors the label.

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `trigger` | `readonly trigger?: string;` | optional | Trigger (default `'#'`). |
| `items` | `readonly items: MentionData<T>;` |  |  |
