solved editor resize