Summary
Code block macro v. 2.2.4 is not working if the "collapsible" option is enabled.
Environment
- Tested only in Confluence 5.8.18
- Code macro 2.2.4
Steps to Reproduce
- Start Confluence 5.8.18
- Manually download the Code Macro 2.2.4.
- Manually upload the add-on.
- The add-on will be updated.
- If the "collapsible" option is "checked"(enabled), the macro won't work. The "expand source" link won't appear.
Expected Results
The macro will expand/collapse properly.
Actual Results
The "expand source" link is not appearing and you can't expand the content.
Notes
Only tested at the moment in Conf 5.8.18
The macro(2.2.4) is working properly on Confluence 5.10
Workaround
- Downgrade manually the add-on.
or
- Delete the plugin from the plugindata table to return to the bundled version(2.1.7).
delete from plugindata where pluginkey = 'com.atlassian.confluence.ext.newcode-macro-plugin'