I know this is a seriously old post -
but my answer might be useful to others anyway, so here goes.
I found that if my CSS style definition for the contenteditable div has a min-height of 200 instead of a height of 200 , then the div scales automatically.