prosekit/extensions/mention
MentionAttrs
id: string
kind: string
value: string
defineMention
ts
function defineMention(): Union<readonly [Extension<{ Nodes: { mention: MentionAttrs } }>, Extension<{ Commands: { insertMention: [attrs: MentionAttrs] } }>]>
defineMentionCommands
ts
function defineMentionCommands(): Extension<{ Commands: { insertMention: [attrs: MentionAttrs] } }>
defineMentionSpec
ts
function defineMentionSpec(): Extension<{ Nodes: { mention: MentionAttrs } }>