Fix htmlarea editor always wrap border around editing text in IE

This commit is contained in:
Hadi Nategh 2015-04-27 13:44:19 +00:00
parent c5bc58556e
commit 4a554a65cd
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ class etemplate_widget_htmlarea extends etemplate_widget
// User preferences
$font = $GLOBALS['egw_info']['user']['preferences']['common']['rte_font'];
$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.'; ':'').
'">&#8203;</span>';
if (empty($font) && empty($font_size)) $font_span = '';

View File

@ -1043,7 +1043,7 @@ class mail_compose
// User preferences for style
$font = $GLOBALS['egw_info']['user']['preferences']['common']['rte_font'];
$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.'&#8203;</span>';
if (empty($font) && empty($font_size)) $font_span = '';
}