mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-10-06 19:55:49 +08:00
Small change based on comments of #355
This commit is contained in:
parent
de7d1a82c3
commit
a085bbb51d
1 changed files with 1 additions and 1 deletions
|
@ -942,7 +942,7 @@ export class ComposePopupView extends AbstractViewPopup {
|
|||
|
||||
this.editor(editor => {
|
||||
encrypted || editor.setHtml(sText);
|
||||
if (encrypted || isPlainEditor() || !message.isHtml()) {
|
||||
if (encrypted || isPlainEditor()) {
|
||||
editor.modePlain();
|
||||
}
|
||||
encrypted && editor.setPlain(sText);
|
||||
|
|
Loading…
Add table
Reference in a new issue