Is it possible to add a ‘Reset all styles’ button to the Styles tab in custom modules that only appears after style modifications have been made? I noticed this functionality exists in HubSpot’s default modules (see screenshot) and would like to implement the same feature in my custom modules for a consistent user experience.
@sbrwn, yeah I don’t think this exists.
Worth submitting as an idea: https://community.hubspot.com/t5/HubSpot-Ideas/idb-p/HubSpot_Ideas.
A workaround of sorts would be to group all the styles together, then you’ll get the reset icon beside the name of the group.
![]()
That will reset everything within the group.
Extra points - if you edit the group through local development you can set it to be open by default:
"expanded" : true,
Barry Grennan
We already do that, which gives use the reset arrows. Ideally I’d like a rest button to rest them all as the same time.
@sbrwn if you set a top level group you could reset them all at once. Call it “All Styles” or something like that.
Then you could have your other groups within that.
Barry Grennan

