mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 19:49:20 +03:00
Drop mail composer HTML/Plain Forced to prevent confusions like in #355
This commit is contained in:
parent
bde9835d5d
commit
435b590b3e
41 changed files with 9 additions and 90 deletions
|
|
@ -124,7 +124,7 @@ const
|
|||
|
||||
isPlainEditor = () => {
|
||||
let type = SettingsUserStore.editorDefaultType();
|
||||
return EditorDefaultType.Html !== type && EditorDefaultType.HtmlForced !== type;
|
||||
return EditorDefaultType.Html !== type;
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
@ -1079,8 +1079,8 @@ export class ComposePopupView extends AbstractViewPopup {
|
|||
encrypted || editor.setHtml(sText);
|
||||
|
||||
if (encrypted
|
||||
|| EditorDefaultType.PlainForced === SettingsUserStore.editorDefaultType()
|
||||
|| (!message.isHtml() && EditorDefaultType.HtmlForced !== SettingsUserStore.editorDefaultType())
|
||||
|| EditorDefaultType.Plain === SettingsUserStore.editorDefaultType()
|
||||
|| !message.isHtml()
|
||||
) {
|
||||
editor.modePlain();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue