Editor resizes to the content by encapsulating its innerHtml in a div
Observe resize on most important events to make sure it fits well on different browsers.