editor hook change to event