()
| 316 | const onApplyMention = async (mention: UserShortProfile) => { |
| 317 | const textareaCommand = getCommand(); |
| 318 | const getReplacement = () => ({ replacement: `@${mention.username} ` }); |
| 319 | await textareaCommand.replaceWord( |
| 320 | getReplacement, |
| 321 | onUpdate, |