You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Started a new page and was told I need to use the new format. I am doing so but now wasting a lot of time trying to find where 'code block' went. Does anyone know how to insert a code block in new page editor system?
When the "old" editor goes away, the current Code Block macro will convert to the new Code Snippet.
From the Atlassian page Confluence Cloud Editor Roadmap :
This macro was removed from the new editor and replaced with the Code Snippet command (type /code). Conversion removes the Code Block macro, moves the text into a Code snippet, and allows you to choose the appropriate language.
Thanks Jason, but per Alan's concerns, the three back ticks creates a "Code snippet" and not the old "Code block" that allowed customisation.
EDIT: Maybe you can shed some light on what it takes to get features into the new Confluence editor? The JIRA ticket says "Gathering interest", but otherwise people just have no idea what is happening behind the scenes in the Atlassian development team.
Thanks for your quick response, and I did try to use Code Snipit but it is so much inferior to Code Block it is not even a consideration! You must have at the very least these missing features restored before considering using it:
1) Collapsible container
2) Header / Title
3) Free formatting text without line numbers
There's a lot of functionality regressions in the new editor. Hopefully they have a plan to deal with these but based on their responses to other issues on JIRA, they don't really listen to user feedback. Here's the relevant JIRA issue: