add parser to editor