wymeditor/wymeditor — pull request #463 by winhamwr (2013-12-11 22:02:48+00:00)
Title: Some additional seamless skin polish items

### Fixed-width dropdowns

The dropdowns should be just as wide as their header, otherwise it's easy to accidentally un-hover.

### Shrink the height

When content is removed, shrink the height (stopping when you hit the height of the original textarea).

### IE call initIframe twice

This results in some initialization being duplicated.

### Add a delayed height recalculation

If the editor contains images on initialization that don't have height defined,
the initial editor height will be off if they haven't loaded by calculation time.
A quick, IE7-compatible fix is to just set a one time timer to recalculate a couple of seconds later.
Not a perfect solution, but good enough.

### IE8 always grows

Both IE7 and IE8 run two resize loops every key press,
but IE8 always grows by at least 10px.,
even if you're hitting backspace.
Something is up with the desiredHeight calculation :(

### min-width editor window

If there are wide tables/images,
things get a little goofy.
Set widths for headers/paragraphs/etc
and a min-width for the whole iframe,
but allow the width to increase if needed.
That will provide a whole-page horizontal scrollbar
in the case of wide tables,
which is probably better than current behavior.

### Pasting should update height

If a user pastes in content, we probably need to grow the editor. Trigger a height check on that event.

### IE iframe vertical centering

* IE7: too much space at the top and not enough at the bottom
* IE8: too much space at the top and not enough at the bottom
* IE9: Too much space at the bottom and not enough at the top

### IE8 horizontal centering

With full-line content on initialization,
IE8 has too much space on the left
and not enough on the right

### affix the HTML box also

When the HTML box is open, it should also be affixed to the top, like the toolbar.