I have a macro that currently renders an image placeholder on the confluence editor. Now the change I need to make is that when the user selects the macro from the editor while typing {macro … , and if my macro is selected, it should NOT render the image placeholder that it was doing before but bring up a template selection screen just like draw.io macro does.
Please provide any pointers to start with here. I am trying to look up in the macro documentation but unable to find something useful yet.
May I please have any suggestions on this. This seems to be some setting in the atlassian-plugin.xml but I am having a hard time figuring this out. It will really help if I get some pointers to start with here.