Skip to main content

Mention

The mention plugin is using the combobox plugin.

Installation#

npm install @udecode/plate-ui-combobox
npm install @udecode/plate-mention
npm install @udecode/plate-ui-mention

Usage#

Live Editor
Result

Options#

interface MentionPlugin<TData extends Data = NoData> {
createMentionNode?: CreateMentionNode<TData>;
id?: string;
insertSpaceAfterMention?: boolean;
trigger?: string;
}

Source Code#