I am using Dynamic Content Macro module with Macro Editor. There is a problem getting data after saving.
AP.confluence.getMacroData method returns old data:
- Add a macro with Macro Editor, save data and close
- Open the macro editor again, change the data, save and close
- When you return to the edit page, AP.confluence.getMacroData returns the old data from step 1
Note: If we open the console and see what data is stored in AP._data.options.productContext, then we will see the new data saved in step 3. But getMacroData returns the old data.
A similar problem with AP.confluence.getMacroBody is described here: AP.confluence.getMacroBody return previous body content on new editor
How to get new data after saving?