Resize the editor