Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Code Block Macro is no longer in my list to insert?

We recently moved to the cloud version of confluence and I no longer have the code block macro in my list of macros to add?  Please help.

1 answer

2 votes

Hello Maureen,

Thank you for contacting us! In the new editor, if you type /code you should be able to find it:

Screenshot 2019-06-17 at 13.42.25.png

If you're still on the old editor, then {code should still work, and you'll find it under Code Block Macro.

Can you give that a try and let me know how it goes?

Regards,

Shannon

Shannon,


Thanks for that info.  However now the concern is I don't have access to format like I did in the old editor?  I can't make it collapsible or choose the background like in the old editor.

Right now I'm copying pages created in the old editor and changing the information as needed but at least it gives me the old code block macro.

Is there a way to choose when adding a page whether to use the new or old editor?

Like # people like this

I agree Maureen, Code snippet seems to have much less functionality than the old Code Block Macro.

Why is this Atlassian?  How do I get the old Code Block functionality where I could add a title, turn numbering on and off, make it collapsible etc?

Like # people like this

@Maureen Yearwood@JP,

The macro is being rewritten for the new editor, and so this would explain the missing functionality.

My colleague raised a feature request to include that customization that was once possible:

  • CONFCLOUD-66437 Allow further customization of the "Code" macro in the new editor

I would recommend that you both vote on the feature request and comment with the features you want to see the most. As always, you can join in on the public discussion about the new editor, where you can even speak to the Product Manager regarding this.

Let me know if you have any trouble.

Regards,

Shannon

Like # people like this

Thanks I just voted and commented.

Like Shannon Spaniol likes this

@Shannon Spaniol 

Thanks Shannon but it is very frustrating to have to vote to get back functionality that we had and you took away.  Setting this up as "vote for a feature you'd like so it might get done" completely belies the fact that this used to work and Atlassian broke it.

Like # people like this

@Maureen Yearwood Thank you for your vote!

@JP, To clarify, the vote is to show which features you value the most. Since the new editor is brand-new, it contains a lot of new macros that we wrote especially for that editor. By voting, it helps us to prioritize our efforts by working on the features that are most important to you and the rest of our customers, and providing less focus on the ones that aren't in demand.

I understand how it might come across, but the votes and feedback are really valuable to our product team, and it helps to improve our products.

Thank you, and have a pleasant week.

Regards,

Shannon

@Shannon Spaniol 

Your answer is not helpful. You took away an existing feature that I used extensively. I recently migrated from my own server to cloud and find this degradation of functionality highly unusual and your explanation  outright deceptive. You should at least acknowledge that the functionality is degraded.

If you can't acknowledge such a simple fact, then my trust in Atlassian is degrading and my ability to promote Atlassian products in my group is undermined. 

Like # people like this

Happened to realise today the feature is missing after moving to new editors! Indeed, it's frustrating and found this page on searching what happened with the feature.  I'm trying hard to accommodate my documentation needed for a presentation, without that my page looks poorly! Damn, this is unprofessional way to do the business. Don't ship partial products and screw up end user experience, what was the urgency?

Like # people like this

Indeed, quite strange and frustrating these kind of decisions are made. Would be much better if some kind of user-base would be consulted before changing such basic stuff as the Code Block... Maybe also check your statistics on the usage of certain features so it's easier to get an estimation on the impact a change has or will have !

 

Very annoying to now have to "vote" for getting an older feature back in Confluence :-(

Like # people like this

Same here. The new editor is proposing some new macros and functionalities, but basic legacy macros should work as before. The "code snippet" is so ugly. The code block that is used by so many users on many pages should not have been replaced with something with lesser rendering capabilities and almost no functionalities at all.

Like # people like this

Can we go back to the old editor until this is resolved? For lots of code this makes it hard to navigate or read. Powershell is grey on grey.. 

Like Hugo Villegas likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

402 views 23 8
Join discussion

Community Events

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

Events near you