Atlassian Confluence Source Editor app only displays a portion of source code

Still need help?

The Atlassian Community is here for you.

Ask the community


Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

When using the Atlassian Confluence Source Editor, only a portion of the page's storage format code is displayed. It isn't possible to scroll or view the rest of the source code for the page within the Source Editor

Environment

6.15.2

Cause

This is caused by a bug in the Adaptivist Scriptrunner app, SRCONF-757. If this add-on is being used with Confluence and the Source Editor is only displaying a portion of the source code, this is very likely the cause. 

Workaround

The advised workaround from Adaptavist is to add the following to the Confluence Global Stylesheet

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

Once this is added, the Source Editor should work as expected.


Last modified on May 5, 2020

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.