So you are talking about the custom button, not the standard one!?
Your picture is not showing.
The custom button has to be configured through yaml and doesn’t show the visual editor by design.
All the info: GitHub - custom-cards/button-card: ❇️ Lovelace button-card for home assistant
The HA thread with a lot of examples as well: Fun with custom:button-card