force pasting as plain text in new composer
This commit is contained in:
parent
556ccf45dc
commit
0252c7ae37
3 changed files with 32 additions and 5 deletions
|
@ -232,7 +232,7 @@ function parseHtmlMessage(html, partCreator, isQuotedMessage) {
|
|||
return parts;
|
||||
}
|
||||
|
||||
function parsePlainTextMessage(body, partCreator, isQuotedMessage) {
|
||||
export function parsePlainTextMessage(body, partCreator, isQuotedMessage) {
|
||||
const lines = body.split("\n");
|
||||
const parts = lines.reduce((parts, line, i) => {
|
||||
if (isQuotedMessage) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue