Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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 Snippet: Display problems

Hi all

 

I'm experiencing the following behaviour of confluence cloud when using the code snippet macro:

When I edit a line of code, it looks like this:code-edit-mode.png

That's OK, looks good.

However, in read mode this one line looks like this:

code-read-mode.png

The scroll bar for the completely visible line runs over the complete page.

This is not OK, and it doesn't look good by any standards.

 

Anybody else having this experience?

 

Yours truly

Peter

1 answer

0 votes
Laura Holton Community Leader Jan 14, 2022

Hi @Peter Hochstrasser 👋

Unfortunately this is a known bug, for which a bug ticket is raised in Atlassian. You can vote for and watch it here

I hope this helps but if you have any other questions just ask away 😃

All the best,

Laura

Hi @Laura Holton 

While the ticket you link above does show the same behaviour of the code snippet, it seems erroneously to assume that this problem only exists when you embed the code snippet page into another page using insert page.

I can confirm that code snippet does that all by itself...

Seems to me that Atlassian succeeds in reducing functionality and also manages to break what's left of the original functionality of the code block macro.

Why?

Who benefits from this?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
Community showcase
Published in Confluence Cloud

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

37,787 views 27 124
Read article

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