* API/CKEditor: allow more space for html-editable area (by setting smaller margin)

This commit is contained in:
Klaus Leithoff 2013-03-21 11:08:04 +00:00
parent 048b79d5a4
commit 311561b8ab

View File

@ -538,6 +538,7 @@ class html
window.CKEDITOR_BASEPATH="'.$GLOBALS['egw_info']['server']['webserver_url'].'/phpgwapi/js/ckeditor/";
CKEDITOR.replace("'.$_name.'", '.egw_ckeditor_config::get_ckeditor_config($_mode,
$pxheight, $expanded, $_start_path).');
CKEDITOR.addCss("body { margin: 5px; }");
CKEDITOR.instances["'.$_name.'"].on(
"instanceReady",
function (ev)