Forum OpenACS Q&A: Re: Changing the textarea size in xowiki

Collapse
Posted by Steve Manning on
Gustaf

FYI I'm using 0.60.3 of XOWiki. As suggested I've changed line 23 in xowiki-form-procs.tcl to read:

{f.text "= richtext,editor=xinha,height=700px"}

But it doesn't seem to have an effect. If I change the default height value for the FormField::richtext::xinha class in form-field-procs.tcl (line 593) to read:

{height 700px}

Then I get the desired effect. It looks as if the height attribute isn't being passed through. Am I missing something?

- Steve

Collapse
Posted by Gustaf Neumann on
Maybe there was a bug in xowiki 0.60.3; before my posting, i was testing the line above with xowiki 0.83 on firefox 2.0.0.12 and safari 3.1, working in both cases correctly.

The change in form-field-procs alters the default height of all xinha textareas in xowiki. Was this your intention?

Collapse
Posted by Gustaf Neumann on
steve, i can confirm that this was a bug in 0.60.3. The bug fix was kind of tricky, since 0.60.3 is about 20 version bumps from head. However, the new fixed version in the oacs-5-3 branch is 0.60.4.
Collapse
Posted by Steve Manning on
Thanks Gustaf. I'll try it out.
Collapse
Posted by Steve Manning on
That sorted it - thank you.

- Steve