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

Source Code Editor view limited to 21 rows

Confluence 6.6.2

We updated a bunch of plugins on Tuesday 2019-06-04.

Obviously since then then the view in the Source Code Editor is limited to 21 rows.

Editing is still possible but no scrollbar is visible.

Scrolling is only possible using the mouse wheel!

Any idea which plugin could have caused this?

Thanks

Harald

 

 

5 answers

1 accepted

1 vote
Answer accepted

Found the bad guy: Adaptavists Script Runner for Confluence 5.5.6 is causing the issue.

I reverted back to 5.4.50 and the Editor works again.

Hi Harald,

We noticed this bug recently and have created a development ticket to investigate a possible resolution:

https://productsupport.adaptavist.com/browse/SRCONF-757

I've added your account as a watcher there on our system.

The problem is in the version of CodeMirror which Confluence Source Editor uses - it's out of date, and we recently bumped the version in ScriptRunner which seems to be causing a conflict. The Source Editor plugin unfortunately is not maintained anymore and it's probably a fix which needs to be implemented on that plugin.

We do have a workaround available though, try this CSS in Confluence's Global Stylesheet:

.CodeMirror {
    height: auto;
}

Hope this helps!

Kind regards,
Tony

Looks like the issue (https://productsupport.adaptavist.com/browse/SRCONF-757) now suggests to add the following to the CSS:

.CodeMirror {
    height: auto;
}
.CodeMirror-scroll{
    margin-bottom: 0px;
    margin-right: 0px;
    padding-bottom: 0px;
}

Thanks!

Rick

Problem affects us too, Global CSS workaround does NOT work.

Hi Michael,

You might have already confirmed this, but...

If you are using a Custom CSS from a product like Refined for Confluence (the old, Refined Theme) Plugin, Linchpin Plugin, or Content Formatting Macros for Confluence you might need to add the workaround there, too.

Of course, your Spaces might also use a local CSS and individual pages might be using the "style" macro to add CSS stylesheets to pages - but I thought those will (or should) still use the Global Stylesheet...

Another item to remember is that ANY CSS styling does not apply to the Administrator console.  https://confluence.atlassian.com/doc/styling-confluence-with-css-166528400.html

Also, don't forget to check different browsers.

Please forgive me if you have already tried these - but the Custom CSS in Refined Theme did bite us :) and perhaps this will help someone else, if not you.

Cheers!

Thanks Rick, that helped !

Adaptivist is reporting that this is fixed in version 2.0.0 of Confluence Source Editor.  I can confirm that we have upgraded and have been able to remove the workaround from our CSS stylesheets.

Suggest an answer

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

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

7,545 views 6 6
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