resize editor