I am using the code below to load a custom editor for my application:
<?php wp_editor(stripslashes($post->post_content),"project_description",array('quicktags'=>false, 'textarea_rows'=>10, "media_buttons"=>false));?>
This code works fine until content is loaded into the editor. For some reason the editor will stretch to ridiculous heights (14,000 px) even if there is only 1 sentence in the editor. It is also inconsistent - sometimes it loads properly, but most of the time it does not.
Also, as soon as anything is entered into the editor after loading it resizes to the proper height. It seems like some kind of initialization problem (calculating the wrong init height). I have seen this in several other instances as well, but I don't seem to be able to find a solution.
Before Keypress: http://i.imgur.com/P2az17X.jpg?1
After Keypress: http://i.imgur.com/LWzHjNG.jpg?1