added the editor into the edit index page