mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-29 10:09:10 +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;
|
$GLOBALS['egw_info']['flags']['nonavbar']=true;
|
||||||
// do NOT include any default CSS
|
// do NOT include any default CSS
|
||||||
Framework::includeCSS('mail', 'preview', true, true);
|
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
|
// load preview.js to activate mailto links
|
||||||
Framework::includeJS('/mail/js/preview.js');
|
Framework::includeJS('/mail/js/preview.js');
|
||||||
|
@ -19,7 +19,7 @@ body,html {
|
|||||||
height:100%;
|
height:100%;
|
||||||
width:100%;
|
width:100%;
|
||||||
padding:0px;
|
padding:0px;
|
||||||
margin:0px;
|
margin:0 !important;
|
||||||
}
|
}
|
||||||
.td_display {
|
.td_display {
|
||||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||||
|
Loading…
Reference in New Issue
Block a user