How to open the Macro using "{" option[Command syntax] without clicking on edit button?

Hi Team ,

I was trying different ways to open custom macro on confluence editor page. To open my custom macro , type “{” → Enter name of macro → Press Enter button → Click Edit button . But I see , Other macros are just getting opened without the need of clicking Edit button . Other macros are getting opened just pressing Enter button after putting the name of macro.

Could you please help to suggest what changes I need to make to have this behaviour ?