update graphemes

This commit is contained in:
Eric Bailey
2023-09-27 20:51:44 -05:00
parent 4868d4864b
commit 4d367d6805
@@ -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
}