Source Code Editor view limited to 21 rows

Deleted user June 6, 2019

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
Deleted user June 6, 2019

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.

1 vote
Michael Scholze
Contributor
February 18, 2020

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

Rick Carini
Contributor
February 20, 2020

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!

Kelly Arrey
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 21, 2020

Thanks Rick, that helped !

1 vote
Rick Carini
Contributor
August 7, 2019

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

1 vote
Tony Gough _Adaptavist_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 21, 2019

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

0 votes
Rick Carini
Contributor
September 22, 2020

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
AUG Leaders

Atlassian Community Events