diff options
author | alecpl <alec@alec.pl> | 2011-12-07 09:35:29 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-12-07 09:35:29 +0000 |
commit | 7e263ea2048721482c00db65d4511f00c4c7b1d4 (patch) | |
tree | 02ee2a01d613a7f23a8408f656953d3ee5abad41 /program/js/editor.js | |
parent | 889665f57517cb1182de74568a239a669b22bece (diff) |
- Add option to set default font for HTML message (#1484137)
Diffstat (limited to 'program/js/editor.js')
-rw-r--r-- | program/js/editor.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/program/js/editor.js b/program/js/editor.js index 9ad50cea5..5e08671f1 100644 --- a/program/js/editor.js +++ b/program/js/editor.js @@ -66,6 +66,9 @@ function rcmail_editor_callback() var elem = rcube_find_object('_from'), fe = rcmail.env.compose_focus_elem; + if (rcmail.env.default_font) + $(tinyMCE.get(rcmail.env.composebody).getBody()).css('font-family', rcmail.env.default_font); + if (elem && elem.type == 'select-one') { rcmail.change_identity(elem); // Focus previously focused element |