Fix hardbreak formatting
parent
b3b1fa1707
commit
2f61fc31fd
|
@ -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') {
|
||||
|
|
Loading…
Reference in New Issue