# BlockEditorMentions (@salmonui/rich-text)

> The BlockEditorMentions interface of @salmonui/rich-text: Mentions through the contenteditable Mention target.

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

```ts
import type { BlockEditorMentions } 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 BlockEditorMentions<T = MentionItem> {
    readonly trigger?: string;
    readonly items: MentionData<T>;
}
```

Mentions through the contenteditable `Mention` target.

Members (2):

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