add editor component