bug: Delete editor types when deleting a model type