How to edit a enumerator in the editor?

How could I make it so that I can add or remove things from an enumerator in the editor?

I may be wrong but I think it’s impossible.
To be able to edit something in the editor (or inspector), you need to attach it to a game object and in order to do this, the class must extend from MonoBehaviour.

Enumerators are unable to extend a class.

But as I said I may be wrong and there could be a way.

I think I would have to extend the editor. I think I was looking for this ,but I just didn’t search the right thing.