From 4d367d6805410471d60d58fd28b733049535f7e0 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Wed, 27 Sep 2023 20:51:44 -0500 Subject: [PATCH] update graphemes --- src/view/com/composer/text-input/TextInput.web.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/view/com/composer/text-input/TextInput.web.tsx b/src/view/com/composer/text-input/TextInput.web.tsx index ff1b4e07c8..4041761027 100644 --- a/src/view/com/composer/text-input/TextInput.web.tsx +++ b/src/view/com/composer/text-input/TextInput.web.tsx @@ -196,6 +196,8 @@ function editorJsonToText(json: JSONContent): string { text += json.text || '' } else if (json.type === 'mention') { text += `@${json.attrs?.id || ''}` + } else if (json.type === 'tag') { + text += `#${json.attrs?.id || ''}` } return text }