From 14956af03f2ba50a154b13ff77166139fdcc0315 Mon Sep 17 00:00:00 2001 From: G30 <50341825+silentoplayz@users.noreply.github.com> Date: Tue, 20 Oct 2026 13:34:49 -0400 Subject: [PATCH] fix: a skill-only draft brought back to the chat input sends only that skill (#32690) --- src/lib/components/common/RichTextInput.svelte | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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}

`;