Wide HTML editor controls - odd

Wide HTML editor controls - odd

by Paul Vaughan -
Number of replies: 8

After one of the recent Git updates, our HTML editor went wide (see pic). Our theme is based on custom corners and this has only happened recently... weird.

Any ideas?

Attachment html_editor.png
Average of ratings: Useful (1)
In reply to Paul Vaughan

Re: Wide HTML editor controls - odd

by Mauno Korpelainen -

It's a typical css problem - something in your theme or for example in some block css might override normal htmlarea css (margin/padding for .button, .img, .toolbar etc )

Try Firebug or Web Developer plugin (in Firefox) to check what's after normal htmlarea.css tags for that editor toolbar

In reply to Paul Vaughan

Re: Wide HTML editor controls - odd

by Mauno Korpelainen -
Paul,

I just checked latest moodle 1.9.7+ myself and it looks like this is a new bug in latest moodle.

I will try to find the reason later tonight.
In reply to Paul Vaughan

Re: Wide HTML editor controls - odd

by Mauno Korpelainen -
OK - found it.

Somebody has added to standard theme styles_layout.css tags

.generalboxcontent table{
width:100%;
}

that caused this odd behaviour.

If those tags are taken away and you refresh browser editor should look normal again.

In reply to Mauno Korpelainen

Re: Wide HTML editor controls - odd

by Mauno Korpelainen -

And here is the bug fix that caused this new bug:

http://tracker.moodle.org/browse/MDL-12057

In reply to Mauno Korpelainen

Re: Wide HTML editor controls - odd

by Colin Fraser -
Picture of Documentation writers Picture of Testers
Good grief!... 247 minutes from "Go" to "Whoa!"....  Takes me that long to figure out the issue.