adds editing class for tags