==Update======
I guess I know the reason. Our macro has bodyType as none. My understanding is when bodyType is not. Body cannot be saved or retrieved (if it was saved before).
@Kevin, can you please confirm this? If this is the case, it should be mentioned in the API document.
==Old comment==
I know this has been closed. I am facing some related problems. In my test, `AP.confluence.getMacroBody(console.log)` prints `undefined` in all tested cases - page view, page editing (macro preview) and macro editor. We also have checked the storage view. It seems that the body is not saved when we call `AP.confluence.saveMacr({k:'v'}, 'some random body')`.
With custom macro parameters editor we see the same - macro body does not get saved in new editor calling AP.confluence.saveMacro