API reference: @salmonui/rich-text
BlockEditorMentionsinterface
import type { BlockEditorMentions } from '@salmonui/rich-text';interface BlockEditorMentions<T = MentionItem> {
readonly trigger?: string;
readonly items: MentionData<T>;
}
Mentions through the contenteditable Mention target.
| Name | Signature | Description |
|---|---|---|
triggeroptional | readonly trigger?: string; | Trigger (default |
items | readonly items: MentionData<T>; |