How in JavaScript/TypeScript develop a macro which during render() will not open the macro module gray frame the <Macro>

Hello,

In confluence Cloud, there are many macros, developed by atlassian.
Which when opened do not open the gray macro frame, but directly open an action/function/interaction (example the macro file; or; the macro report; or; …)

My question: how in JavaScript/TypeScript develop a macro which during render() will not open the macro module gray frame the <Macro app={}>, but, execute a function, opens for example opens a or how to inject a text directly into the page?

Thank you very much for your help, wish you a nice day

up, please :slight_smile: