restore BR after the quoted text (but hide it using css) otherwise trouble on Android

This commit is contained in:
or-else
2021-09-23 10:50:47 -07:00
parent 3a7a806420
commit f9bf9b07d9
20 changed files with 408 additions and 141 deletions
+1 -1
View File
@@ -688,7 +688,7 @@ class MessagesView extends React.Component {
if (typeof msg == 'string') {
msg = Drafty.parse(msg);
}
msg = Drafty.append(this.state.reply.content, msg);
msg = Drafty.append(Drafty.appendLineBreak(this.state.reply.content), msg);
this.handleCancelReply();
}
this.props.sendMessage(msg, uploadCompletionPromise, uploader, head);