refactor(templateEditor): mdl