New pages editing defaults to the new editor format with "Publish" on the top, while pre-existing pages still open in the old editor with "Publish" at the bottom and the old formatting options.
The old editor's Code Block has options for setting Collapse and title properties etc, where in the new editor Code Snippet I only see the language option.
I need such blocks to collapse and have titles visible when collapsed.
How do I do this now?
@Jeffrey Saltzman First of all welcome to the community!
You are correct about shortcoming of Code Macro in new editing experience for Confluence Cloud.
Many discussion related to this are in progress, summary of which is Atlassian want to make things simpler and is pushing new feature very carefully to new editor in Confluence, and on other side, power user like you and me are struggling.
I call it price of simplicity.
Now coming to solution, you can use various plugins available on Atlassian Marketplace for this. For example - https://marketplace.atlassian.com/apps/1214912/better-code-macro-for-confluence?hosting=cloud&tab=overview
This simply is garbage. A perfectly usable feature is no longer usable. Colapsable code snippets work, ones that to not collapse make documentation with code examplaes unreadable.
More of Atalssian having too much time on their hands and breaking perfectly good functionality.
We're not interested in exploring (or purchasing) community fixes to your breaks.
You can embed your code snippet macro in an Expand macro.
What is more annoying for me (as a free Cloud user) that i cannot set the theme of the code snippet macro, even the default theme (what i can see in settings) is not reflected..
Did you experience similar phenomenon?
Does the theme thing works for you?
Well, the expand block doesn't display code the way it needs to be - so I now wrap a code snippet with an expand block.
More clicks more time more space in the page.
As Einstein said, "Everything should be made as simple as possible, but no simpler."
This stepped off the cliff.
Oddly, the `Code Macro Administration` is still available in the settings even though the Code Macro is no longer available. So you can set default themes and languages in settings, but they do nothing since the Code Snippet ignores them. Basic theming and the ability to set a default language would make Code Snippets much more usable.
Hello Confluence Community! What if i told you that you could have a healthier life and be 100% meet-less? This month, we're promoting a healthy, balanced work diet with Confluence. We la...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events