From 8ca651b2fa227775c070406f6ad20380ac53f69d Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Sat, 1 Oct 2022 16:37:28 +0200 Subject: [PATCH] Bugfix: this.isPlainEditor is not a function #541 --- dev/View/Popup/Compose.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/View/Popup/Compose.js b/dev/View/Popup/Compose.js index 3e214fd8a..eb6a3f58a 100644 --- a/dev/View/Popup/Compose.js +++ b/dev/View/Popup/Compose.js @@ -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);