htmlarea size

A place for users and developers of the Xataface to discuss and receive support.

htmlarea size

Postby 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
Martin Dowse
 
Posts: 12
Joined: Mon Aug 04, 2008 4:42 pm

Re: htmlarea size

Postby 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?
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: htmlarea size

Postby 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
Martin Dowse
 
Posts: 12
Joined: Mon Aug 04, 2008 4:42 pm

Re: htmlarea size

Postby 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.
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: htmlarea size

Postby Martin Dowse » Thu May 27, 2010 1:27 pm

Thanks Steve - much appreciated.
Martin Dowse
 
Posts: 12
Joined: Mon Aug 04, 2008 4:42 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 38 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved