summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
Diffstat (limited to 'program')
-rw-r--r--program/js/app.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/program/js/app.js b/program/js/app.js
index f903af0a1..532c900ed 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -2170,6 +2170,10 @@ function rcube_webmail()
// Apply spellcheck changes if spell checker is active
this.stop_spellchecking();
+ // move body from html editor to textarea (just to be sure, #1485860)
+ if (window.tinyMCE && tinyMCE.get('compose-body'))
+ tinyMCE.triggerSave();
+
return true;
};