Page 1 of 1

htmlarea size

PostPosted: Wed May 26, 2010 4:48 pm
by Martin Dowse
Hi

is there a config setting to increase the vertical size of an htmlarea using FCKeditor?

Thanks

Re: htmlarea size

PostPosted: Wed May 26, 2010 5:15 pm
by shannah
I think there is but I don't have the details off hand. But I'm not sure anyone would want it any bigger than the default. Are you aware of the toggle fullscreen button to make it take up the full screen?

Re: htmlarea size

PostPosted: Wed May 26, 2010 5:22 pm
by Martin Dowse
Whoa that was fast. Yes I am aware of the toggle full screen. It's just that I have a bit of space left on the page and a good use for it would be to make the html area longer. Just a nice to have.

cheers

Re: htmlarea size

PostPosted: Thu May 27, 2010 12:00 pm
by shannah
OK... I took a look in the source, and in fact you cannot set the height right now. This should be changed. In the mean time, you would need to modify it in the source code. In the file HTML/QuickForm/htmlarea.php, find the line:

Code: Select all
$editor->Height = '480';


Change it to whatever you want the height to be.

Re: htmlarea size

PostPosted: Thu May 27, 2010 1:27 pm
by Martin Dowse
Thanks Steve - much appreciated.