mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 01:29:05 +01:00
load users preferred (TinyMCE) font also for mail preview
This commit is contained in:
parent
7a55eef6c8
commit
d9436628cd
@ -3356,6 +3356,11 @@ $filter['before']= date("d-M-Y", $cutoffdate2);
|
||||
$GLOBALS['egw_info']['flags']['nonavbar']=true;
|
||||
// do NOT include any default CSS
|
||||
Framework::includeCSS('mail', 'preview', true, true);
|
||||
// include TinyMCE CSS prefs after preview CSS
|
||||
Framework::includeCSS('/api/tinymce.php?'. // use the 3 prefs as cache-buster
|
||||
base64_encode($GLOBALS['egw_info']['user']['preferences']['common']['rte_font'].':'.
|
||||
$GLOBALS['egw_info']['user']['preferences']['common']['rte_font_size'].':'.
|
||||
$GLOBALS['egw_info']['user']['preferences']['common']['rte_font_unit']));
|
||||
|
||||
// load preview.js to activate mailto links
|
||||
Framework::includeJS('/mail/js/preview.js');
|
||||
@ -5619,4 +5624,4 @@ $filter['before']= date("d-M-Y", $cutoffdate2);
|
||||
$response->data($res);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -19,7 +19,7 @@ body,html {
|
||||
height:100%;
|
||||
width:100%;
|
||||
padding:0px;
|
||||
margin:0px;
|
||||
margin:0 !important;
|
||||
}
|
||||
.td_display {
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
|
Loading…
Reference in New Issue
Block a user