add buttons to resize editor