Empty elements with no field data shoud get autodeleted


#1

I happen to create empty elements from time to time (and then I will just hit Publish) .

I feel those empty Elements should ALWAYS get autodeleted by anymod at the moment the publish button is klicked.

Those empty elements will always create unwanted html structure with no relevant data inside.

They are always unwanted .

If you perform a search across all anymod projects from all your anymod customers , you might find out , I am not the only one who accidentially has empty elements in his mod structure.

It happens to me again and again …

https://anymod.com/home


#2

We will think about this one a little bit to make sure there aren’t legitimate use cases for having an empty one. We usually don’t like to “auto-delete” things :wink:

But it might make sense in this case.