set editor auto height