diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-12-07 09:35:29 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-12-07 09:35:29 +0000 |
| commit | 34e371d586aa6fb180cb799a541d4fdf57925df4 (patch) | |
| tree | f6b084dee9c7fad130207e51daa1f26026408720 /roundcubemail/program/js/editor.js | |
| parent | 61ffc53ca0fa29e15c895de155ab9cde4c073bf8 (diff) | |
- Add option to set default font for HTML message (#1484137)
git-svn-id: https://svn.roundcube.net/trunk@5562 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js/editor.js')
| -rw-r--r-- | roundcubemail/program/js/editor.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/roundcubemail/program/js/editor.js b/roundcubemail/program/js/editor.js index 9ad50cea5..5e08671f1 100644 --- a/roundcubemail/program/js/editor.js +++ b/roundcubemail/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 |
