forked from extern/egroupware
control height of CKEditor; set a more convinient height for signature edit
This commit is contained in:
parent
eeeebb5197
commit
f6e2163b91
@ -612,7 +612,7 @@ class html
|
||||
$oCKeditor->config['filebrowserWindowWidth'] = 640;
|
||||
$oCKeditor->config['filebrowserWindowHeight'] = 580;
|
||||
//Only heights with "px" set are supported
|
||||
$pxheight = (strpos('px', $_height) === false) ? 400 : str_replace('px', '', $_height);
|
||||
$pxheight = (strpos('px', $_height) === false) ? (empty($_height)?400:$_height) : str_replace('px', '', $_height);
|
||||
$oCKeditor->config['height'] = $pxheight;
|
||||
|
||||
// By default the editor start expanded
|
||||
|
Loading…
Reference in New Issue
Block a user