-
Type:
Bug
-
Resolution: Fixed
-
Priority:
High
-
Component/s: Page - Editor - Cloud
-
Severity 3 - Minor
Issue Summary
When defining a dynamicContentMacro and invoking
AP.confluence.getMacroBody(function(data){
alert(`AP.confluence.getMacroBody - ${JSON.stringify(data)}`);
});
in page edit mode of the new Confluence editor, no body is returned in the callback function unlike the old editor.
Steps to Reproduce
- Spawn a connect app with a dynamicContent
- In the macro's js add this code:
AP.confluence.getMacroBody(function(data){ alert(`AP.confluence.getMacroBody - ${JSON.stringify(data)}`); }); - Add the macro in a blog (which forces the user to use the new Confluence editor)
- Add something inside the macro and edit the macro
- No body is returned, see comparison
Expected Results
The macro body is returned
Actual Results
An empty body is returned in the callback function
Notes
The function returns a macro body when in page view mode:
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available
- is depended on by
-
DEVHELP-2102 Loading...