Preview not showing content
The preview dialog does not show content according to William Carr:
It is pretty cool but the preview does not work. I'm able to add "better code block" macros but when I hit preview in my Confluence document I briefly see a waiting gear where the better code block macros are but then I see nothing in the place where the waiting gears were. If I hit save I see the code blocks rendered as expected.
This should be investigated and looked into.
Comments (7)
-
reporter -
reporter Issue
#5was marked as a duplicate of this issue. -
reporter Issue
#4was marked as a duplicate of this issue. -
Account Deactivated @robertmassaioli, What's the status of this issue? This prevents cloud-code-macro from working entirely.
-
It can be fixed by using
AP.confluence.getMacroBody
(https://developer.atlassian.com/static/connect/docs/latest/javascript/module-confluence.html#.getMacroBody) instead of constructing the rest call here https://bitbucket.org/robertmassaioli/cloud-code-macro/src/47eb55deace5bf25459ed08c49b9001abec75252/static/js/app/paste-code-macro.js?at=master&fileviewer=file-view-default#paste-code-macro.js-23One thing to note is the
getMacroBody
only works in v5 -
-
reporter - edited description
- changed status to resolved
This has been shipped to production.
- Log in to comment
See: https://answers.atlassian.com/questions/38389510/answers/38391836/comments/40341923