add editor support