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

This commit is contained in:
Klaus Leithoff 2013-03-21 11:06:51 +00:00
parent 892910a76d
commit 77c15b226c

View File

@ -559,6 +559,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)