html editor not fully there!

html editor not fully there!

Tim Grech發表於
Number of replies: 9

As an administrator, when adding/updating an assignment, I can’t add a description because the html editor controls are there (bold, italic etc) but the “white space” for writing is not. There isonly a button saying "Save Changes" but no place to make a change. 

The same happens as a teacher going to add comments to an assignment.

When I disallow the html editor. The white space appears, but the controls disappear. It also leaves behind all the old html tags (which you could previously not see).

Is htere a known bug? Maybe a clash with my settings?

Ihave attached a jpeg showing exactly what I mean where you can see there is no "white space" for editing/inserting comments.

We are using Moodle 1.5.3+ (2005060230)


附件 moddlenoedit.jpg
評比平均分數: -
In reply to Tim Grech

Re: html editor not fully there!

Ashok Naidu發表於
HI ,

I am also facing the same problem. Some time the forum HTML editor not visible for my some of the users and they are not able to post the forums.

Please let us know  how we can resolve the this issue.

Thanks
Ashok Naidu
In reply to Tim Grech

Re: html editor not fully there!

Art Lader發表於

Hi, Tim,

This is not a solution, just a little workaround until the problem is resolved: When this used to happen to me, I would just use the fullscreen editor. It worked like a charm was actually better because it had more table-formatting options.

Hope that helps a little bit for now.

Regards,
Art

附件 fullscreen.gif
In reply to Tim Grech

Re: html editor not fully there!

Tim Grech發表於
The problem seems to have been fixed by chaning themes. We were using Cornflower (suggested on another thread).
In reply to Tim Grech

Re: html editor not fully there!

Art Lader發表於
> The problem seems to have been fixed by chaning themes.

Thank you for posting that solution, Tim. Good to know.

Regards,
Art
In reply to Tim Grech

Re: html editor not fully there!

Donal McMullan發表於
Hey guys - we had a similar problem on a client site - I pulled the patch we used to deal with it and it looks like it makes a single change to the file:

lib/editor/htmlarea/htmlarea.php

The line:
width = parseInt(width);
was changed to:
width = Math.max(parseInt(width), 588);

I think this happened only in IE, and it seemed like IE was sometimes measuring the width of an element before it had actually been drawn on the page, and of course that width was effectively zero.

Anyway - not sure of the details. If this change isn't effective, you could try setting the height of the textarea to a hard-coded value, and see if that makes a difference for you, i.e. find/change:
height = parseInt(height);
to
height = 100;
...or something like that.

You can review the patch in Catalyst's Git repo.

Sorry I didn't see this issue earlier - I hope this works for someone.