summaryrefslogtreecommitdiff
path: root/program/steps/mail/compose.inc
diff options
context:
space:
mode:
authorThomas B. <thomas@roundcube.net>2013-09-16 10:47:24 -0700
committerThomas B. <thomas@roundcube.net>2013-09-16 10:47:24 -0700
commit0201298cd8f767389789f7c35897985d4475836a (patch)
tree49ba49fade3e2dd998a569e1694c5e31ad301af3 /program/steps/mail/compose.inc
parentb5c364273d7b026c0deda2326018aabff8bec73c (diff)
parent153e455f6566cb7a4349b7f2197e842d6ec9bf90 (diff)
Merge pull request #118 from Dennis1993/patch-12
Added support for default font size and fix legacy code for default font
Diffstat (limited to 'program/steps/mail/compose.inc')
-rw-r--r--program/steps/mail/compose.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index 39dca3b03..30c9f79fb 100644
--- a/program/steps/mail/compose.inc
+++ b/program/steps/mail/compose.inc
@@ -148,6 +148,9 @@ if ($font && !is_array($font)) {
$OUTPUT->set_env('default_font', $font);
}
+// default font size for HTML editor
+$OUTPUT->set_env('default_font_size', $RCMAIL->config->get('default_font_size'));
+
// get reference message and set compose mode
if ($msg_uid = $COMPOSE['param']['draft_uid']) {
$compose_mode = RCUBE_COMPOSE_DRAFT;