diff --git a/src/view/com/composer/text-input/TextInput.web.tsx b/src/view/com/composer/text-input/TextInput.web.tsx index b56d306e..245c17b9 100644 --- a/src/view/com/composer/text-input/TextInput.web.tsx +++ b/src/view/com/composer/text-input/TextInput.web.tsx @@ -140,6 +140,8 @@ function editorJsonToText(json: JSONContent): string { } } text += '\n' + } else if (json.type === 'hardBreak') { + text += '\n' } else if (json.type === 'text') { text += json.text || '' } else if (json.type === 'mention') {