Auto-resize when editor is pre-loaded with text