Add fragment name to editor