Details
-
Bug
-
Resolution: Fixed
-
High
-
None
-
Major
-
Description
Issue Summary
Embedding a macro within a rich text macro's body causes AP.confluence.getMacroBody() not to invokes the callback passes to it.
Steps to Reproduce
- Visit any Confluence page and start editing it.
- Insert Macro A where it is defined as per the specifications below.
- Insert another macro such as the Jira macro within the body of Macro A and enter a search such as "assignee = currentUser()" then save it.
- Click on Macro A, open its editor and observe the rendered macro body data.
- Open the browser's dev tools and enter AP.confluence.getMacroData(console.log).
Macro A specifications:
- Important descriptor aspects: {"bodyType": "rich-text", "outputType": "block", editor: customEditorUrl}
- The macro's custom editor calls AP.confluence.getMacroBody() during initialisation and renders the result.
- This macro is implemented by the app at https://speckle-verbena-cart.glitch.me/. The macro's name is "Rich Text Macro" and the app's descriptor URL is https://speckle-verbena-cart.glitch.me/connect.json.
Expected Results
At step 5, the console.log() function is called with the macro data.
Actual Results
At step 5, the console.log() function is not called with the macro data.
Workaround
None
Attachments
Issue Links
- mentioned in
-
Page Loading...