latest 1.9 from CVS has editor at 50% width

latest 1.9 from CVS has editor at 50% width

by Matt Gibson -
Number of replies: 3
I've filed MDL-12136 about this (screenshot in tracker), but was hoping someone might know how to apply a quick hack to fix it.

Any ideas?
Average of ratings: -
In reply to Matt Gibson

Re: latest 1.9 from CVS has editor at 50% width

by Larry Elchuck -
Same problem with htmleditor in 1.8.3+

larry
In reply to Larry Elchuck

Re: latest 1.9 from CVS has editor at 50% width

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
The tracker is enough for these sort of reports. I think it's been fixed already ... cvs update!
In reply to Martin Dougiamas

Re: latest 1.9 from CVS has editor at 50% width

by Tatsuya Shirai -
Me too.

On IE6 no problem, however on Firefox ,not good...

Perhaps, this modification affects this phenomenon.

------
2007-11-12 Monday 12:08 martinlanghoff

 * lib/editor/htmlarea/htmlarea.php:

 htmlarea: Fix fullscreen editor on IE6/7 -- MDL-11242

 Only say px if the width is a pure number. Under IE we get the
 "100%" for the width of the editor, so blindly appending "px"
 results in a JS execution error.

 With this patch we only attach px if it's a pure int.

 Also tested the sizing of HTMLArea in the messaging window. So both
 should be working now.

Attachment htmleditor_halfsize.jpg