added more advanced editor example