mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-16 13:03:16 +01:00
Fix htmlarea editor always wrap border around editing text in IE
This commit is contained in:
parent
c5bc58556e
commit
4a554a65cd
@ -38,7 +38,7 @@ class etemplate_widget_htmlarea extends etemplate_widget
|
|||||||
// User preferences
|
// User preferences
|
||||||
$font = $GLOBALS['egw_info']['user']['preferences']['common']['rte_font'];
|
$font = $GLOBALS['egw_info']['user']['preferences']['common']['rte_font'];
|
||||||
$font_size = egw_ckeditor_config::font_size_from_prefs();
|
$font_size = egw_ckeditor_config::font_size_from_prefs();
|
||||||
$font_span = '<span style="width: 100%; display: inline-block; '.
|
$font_span = '<span style="width: 100%; display: inline; '.
|
||||||
($font?'font-family:'.$font.'; ':'').($font_size?'font-size:'.$font_size.'; ':'').
|
($font?'font-family:'.$font.'; ':'').($font_size?'font-size:'.$font_size.'; ':'').
|
||||||
'">​</span>';
|
'">​</span>';
|
||||||
if (empty($font) && empty($font_size)) $font_span = '';
|
if (empty($font) && empty($font_size)) $font_span = '';
|
||||||
|
@ -1043,7 +1043,7 @@ class mail_compose
|
|||||||
// User preferences for style
|
// User preferences for style
|
||||||
$font = $GLOBALS['egw_info']['user']['preferences']['common']['rte_font'];
|
$font = $GLOBALS['egw_info']['user']['preferences']['common']['rte_font'];
|
||||||
$font_size = egw_ckeditor_config::font_size_from_prefs();
|
$font_size = egw_ckeditor_config::font_size_from_prefs();
|
||||||
$font_part = '<span style="width:100%; display: inline-block; '.($font?'font-family:'.$font.'; ':'').($font_size?'font-size:'.$font_size.'; ':'').'">';
|
$font_part = '<span style="width:100%; display: inline; '.($font?'font-family:'.$font.'; ':'').($font_size?'font-size:'.$font_size.'; ':'').'">';
|
||||||
$font_span = $font_part.'​</span>';
|
$font_span = $font_part.'​</span>';
|
||||||
if (empty($font) && empty($font_size)) $font_span = '';
|
if (empty($font) && empty($font_size)) $font_span = '';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user