Confluence page not rendering content that is editable
Platform Notice: Cloud and Data Center - This article applies equally to both cloud 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
Problem
Some or all content of a page is not rendered but when Editing the page, the content is there and can be editable.
Diagnosis
Viewing the page Storage Format (Options -> View Storage Format) :
<div class="assistive"><span style="color: rgb(51,51,51);">An example text that won't render</span></div>a "class" is applied to the text.
Cause
The CLASS applied to the text is used by Confluence in a different section and has a .hidden format applied to it, so it's content is not displayed.
The text was probably copied from another rich text page with the class and pasted to Confluence editor. The editor will keep the rich content to display it in the same way it was copied.
Resolution
ℹ️ When to use this fix:
This procedure specifically resolves text that is present and editable in edit mode, but fails to render when viewing the published page because copied rich-text formatting or CSS classes (such as
.assistiveor.hidden) hide the text.This procedure does not recover lost or deleted content that is missing from the editor. If content is missing in both edit mode and view mode, review your https://support.atlassian.com/confluence-cloud/docs/view-page-history-and-manage-versions/ to restore earlier versions.
If the test text remains hidden after pasting without formatting, the issue is not caused by copied CSS classes, and you should investigate space permissions or view restrictions instead.
To remove the style of the text, the content must be pasted without format on another page or section not affected by this problem.
Verify that the affected text renders outside edit mode
Before updating the entire page, test a small sample of the text to confirm the fix:
In edit mode, select and copy a short snippet of the text that displays in the editor but disappears when viewing the published page.
In an unaffected section of the page (or on a test page), paste the passage without formatting:
Windows: Press Ctrl + Shift + V
Mac: Press Cmd + Shift + V (or Cmd + Option + Shift + V)
Publish or save the page and view it outside the editor.
Compare the test passage with the original passage:
If the test passage displays properly outside edit mode, proceed to repeat the paste-without-formatting procedure for the remainder of the affected content.
If you need specific styling (such as headings or bold text), reapply the formatting manually using the editor toolbar, checking the published view after each change.
Was this helpful?