Merge pull request #593 from bluesky-social/ollie/fix-hardbreak

Fix hardbreak formatting
This commit is contained in:
Ollie H
2023-05-05 16:53:12 -07:00
committed by GitHub
@@ -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') {