rbelusic wrote:Nothing, again. config.height (according to documentation) is content area height (not editor height).
i tried, and it works for me ...... you should try this :
config.toolbarStartupExpanded = false;
It makes disapear the menu, you can clic on it to make it appear, so at start, you only have the editing area, this is my last help for you at the moment, i don't have more tips ....
With config.toolbarStartupExpanded = false is better of course, but this is not solution. My conclusion is that this is not possible in CKEDITOR (as I suspected). This is very disappointing.
Re: How to set height of entire editor area
EDIT...
to disable resize of editor :
Re: How to set height of entire editor area
Not really - this config parameters don't have any effect.
My test page:
<html>
<head>
<title>CKEDITOR height test</title>
<script type="text/javascript"
src="/findme/scripts/lib/ckeditor/ckeditor.js">
</script>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script>
function showEditor() {
var elm = document.getElementById("editor_div");
if(elm) {
CKEDITOR.config.width = 600;
CKEDITOR.config.resize_enabled = false;
CKEDITOR.config.autoGrow_minHeight = 600;
CKEDITOR.config.autoGrow_maxHeight = 600;
CKEDITOR.replace(elm);
var editor = CKEDITOR.instances["editor_div"];
editor.setData("Test")
}
}
</script>
</head>
<body onload="showEditor()">
<div id="editor_div" style="widht: 600px; height: 600px;">
</div>
</body>
</html>
Result:
<span id="cke_editor_div" onmousedown="return false;" class="cke_skin_kama cke_editor_editor_div" dir="ltr" title="" lang="en" tabindex="0" role="application" aria-labelledby="cke_editor_div_arialbl" style="width: 588px;">
Re: How to set height of entire editor area
Re: How to set height of entire editor area
config.height (according to documentation) is content area height (not editor height).
Re: How to set height of entire editor area
i tried, and it works for me ......
you should try this :
It makes disapear the menu, you can clic on it to make it appear, so at start, you only have the editing area, this is my last help for you at the moment, i don't have more tips ....
Re: How to set height of entire editor area
With config.toolbarStartupExpanded = false is better of course, but this is not solution.
My conclusion is that this is not possible in CKEDITOR (as I suspected).
This is very disappointing.