How to change the default icon in static content macro title?


How to change the default file icon in the static macro title to a icon url provided in atlassian-connect.json file for the static macro? When I type /macro-name in the confluence editor I see the icon in the list of options but not in the title.

Screenshot 2023-10-16 at 20.27.31