A first rough pass at wrapping the contenteditable element in a wrapper, to facilitate better height measurements.
Editor view now recalculates its height whenever its width changes.