Skip to content

Function: insertMention() ​

ts
function insertMention(attrs): Command;

Insert a mention at the selection, followed by a space so typing can go on. Use it as a suggestion item's command. Requires advancedSchema().

Parameters ​

ParameterType
attrsMentionAttrs

Returns ​

Command