mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-02-24 06:47:05 +08:00
Bugfix: this.isPlainEditor is not a function #541
This commit is contained in:
parent
261d9ba59c
commit
8ca651b2fa
1 changed files with 1 additions and 1 deletions
|
@ -945,7 +945,7 @@ export class ComposePopupView extends AbstractViewPopup {
|
|||
|
||||
this.editor(editor => {
|
||||
encrypted || editor.setHtml(sText);
|
||||
if (encrypted || this.isPlainEditor() || !message.isHtml()) {
|
||||
if (encrypted || isPlainEditor() || !message.isHtml()) {
|
||||
editor.modePlain();
|
||||
}
|
||||
encrypted && editor.setPlain(sText);
|
||||
|
|
Loading…
Reference in a new issue