diff --git a/src/lib/components/common/RichTextInput.svelte b/src/lib/components/common/RichTextInput.svelte index a5b9140253..eba2b02e37 100644 --- a/src/lib/components/common/RichTextInput.svelte +++ b/src/lib/components/common/RichTextInput.svelte @@ -578,7 +578,10 @@ const display = (label || slashSkillLabel)?.length ? label || slashSkillLabel : mentionId; - return `${mentionChar}${display}`; + const dataId = (label || slashSkillLabel)?.length + ? `${mentionId}|${display}` + : mentionId; + return `${mentionChar}${display}`; } ); return `

${withMentions}

`;