add id to editor