Change the editor height to always fit the contained code