renamed advancedEditor to editor