I try to use AP.confluence.saveMacro or setContentProperty within the normal dynamic content macro editor.
AP.confluence.saveMacro(
{ url: 'https://google.com', foo: 'bar' },
''
);
and later …
AP.confluence.getMacroData(function (data) {
console.log({ data });
});
data is returned correctly, but after save and reopen the editor, it is gone.
I get an error message on the console:
Is it possible to use this function within a non conent macro with standard editor?