-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
Affects Version/s: 9.2.2, 9.2.3, 9.2.5, 9.2.14
-
Component/s: Content - Page
-
13
-
Severity 3 - Minor
-
22
Problem
Texts with class="confluence-embedded-file-wrapper confluence-embedded-manual-size" options are displayed incorrectly in Confluence 9
Environment
Confluence 9
Steps to Reproduce
- Install Confluence Source Editor
- Create a new page and save it.
- Edit the page and click the <> button
- Add the following example storage format:
<span class="confluence-embedded-file-wrapper confluence-embedded-manual-size"> <span style="color: rgb(51,51,51);text-decoration: none;"> <span style="color: rgb(23,43,77);">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</span> </span> </span>
- Publish the page
Expected Results
The text should be displayed as it was shown in the editor.

Actual Results
Render as shown in edit mode.
Workaround
Editing the page and reapplying the text format using the UI seems to fix the issue. It converts the source to something like this:
<p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. <span class="confluence-embedded-file-wrapper confluence-embedded-manual-size"> </span>
</p>
Another possible workaround is to use the custom CSS below.
.wiki-content .confluence-embedded-file-wrapper.confluence-embedded-manual-size {
max-width: none !important;
}
CSS steps
You can apply the CSS workaround, you have two main options depending on how widespread the issue is:
Option 1 – Apply site-wide (recommended if the issue affects many spaces)
- Go to Confluence Administration > Look and Feel > Custom HTML.
- In the At end of the HEAD section, add the following code:
<style>.wiki-content .confluence-embedded-file-wrapper.confluence-embedded-manual-size { max-width: none !important; }</style>
- Save your changes. This will apply the fix across all spaces on your instance.
Option 2 – Apply to a single space
- Navigate to the affected space.
- Go to Space Tools > Look and Feel > Stylesheet-> Space StyleSheet
- Click Edit and add the following CSS rule (note that <style> tags are not needed here):
<style>.wiki-content .confluence-embedded-file-wrapper.confluence-embedded-manual-size { max-width: none !important; }</style>
- Save and refresh the affected pages to confirm the layout displays correctly.
If the issue is widespread, the global method (Option 1) is much more efficient. For isolated cases, the space-level approach (Option 2) keeps the change contained. I have tested both in my local instance running 9.2.19, and it works fine.
Notes
- is resolved by
-
CONFSERVER-98694 Nested Lists not Indented Correctly
-
- Closed
-
- relates to
-
CONFSERVER-93443 Images resized by percentage are not displayed correctly
-
- Gathering Impact
-
- mentioned in
-
Page Loading...
