htmlarea size

Archived from the Xataface Users forum.

Martin Dowse — Wed May 26, 2010 4:48 pm

Hi

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

Thanks


shannah — Wed May 26, 2010 5:15 pm

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?


Martin Dowse — Wed May 26, 2010 5:22 pm

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


shannah — Thu May 27, 2010 12:00 pm

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.


Martin Dowse — Thu May 27, 2010 1:27 pm

Thanks Steve - much appreciated.