In php, after you make a new editor: $oFCKeditor = new FCKeditor('FCKeditor1') ; You can access the Height property of the editor and change it: $oFCKeditor->Height = '900';
You can also look at the source code that writes the text area in php or whichever language you use to find out more. Look in the fckeditor folder. The php files are fckeditor_php4.php and fckeditor_php5.php.
var e = new FCKeditor('content');
e.Config['CustomConfigurationsPath'] = '/javascripts/my_config.js';
...
e.Height = "96%";
e.Width = "98%";
e.ReplaceTextarea();
The other way I'm changing the size, is to put the whole thing in a div and with jQuery do stuff like this:
function size () {
var rev = $('#mydiv');
var top = rev.get(0).offsetTop;
rev.css({
width: document.body.offsetWidth,
height: document.documentElement.clientHeight - top
});
}
Both methods change the size, and I'm trying to figure what's best for my purposes. Hope one of these methods helps you!
Re: Composing area size...where can I set it?
$oFCKeditor = new FCKeditor('FCKeditor1') ;
You can access the Height property of the editor and change it:
$oFCKeditor->Height = '900';
You can also look at the source code that writes the text area in php or whichever language you use to find out more. Look in the fckeditor folder. The php files are fckeditor_php4.php and fckeditor_php5.php.
That's what worked for me in any case. Good luck.
Re: Composing area size...where can I set it?
var e = new FCKeditor('content'); e.Config['CustomConfigurationsPath'] = '/javascripts/my_config.js'; ... e.Height = "96%"; e.Width = "98%"; e.ReplaceTextarea();The other way I'm changing the size, is to put the whole thing in a div and with jQuery do stuff like this:
function size () { var rev = $('#mydiv'); var top = rev.get(0).offsetTop; rev.css({ width: document.body.offsetWidth, height: document.documentElement.clientHeight - top }); }Both methods change the size, and I'm trying to figure what's best for my purposes. Hope one of these methods helps you!
Re: Composing area size...where can I set it?