Details
-
Bug
-
Resolution: Fixed
-
High
-
7
-
Severity 3 - Minor
-
Description
Summary
{code} macro does not expand if configured to be collapsable. It does not exhibit this behavior in the editor or in the preview from the editor, only after being published.
Environment
Cloud
Steps to Reproduce
- create a page and add a code macro to it
- edit the macro and check the "collapsable" Check-box and save
- Publish the page
- attempt to expand the macro by clicking Expand Source
Expected Results
The macro expands and shows the code.
Actual Results
The Expand is completely non-responsive. Error in Chrome console:
console.js:26 Error: can't load XRegExp twice in the same frame at com.atlassian.confluence.ext.newcode-macro-plugin:syntaxhighlighter.js?externals=__local-default__&…:5
Notes
N/a
Workaround
- Place Code block macro in its default configuration inside of an expand macro.