How to use saveMacro / getMacroData with live macro in the new editor?

A macro needs to have a bodyType of none to be a live macro in the new editor but it seems like saveMacro and / or getMacroData would not work when the bodyType is none, the macro body will always be empty unless bodyType is changed to rich-text. Does anyone know if that is the intended behaviour? Is there anyway to use saveMacro / getMacroData with live macros?

2 Likes

So, after asking someone from Atlassian, this behaviour of saveMacro is intended and there is a ticket to somehow mitigate this issue with content properties: [CONFCLOUD-65437] When changing macro body from bodied to bodiless store the macro body to content property - Create and track feature requests for Atlassian products.

1 Like