-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
9.2.1, 9.3.1
-
2
-
Severity 3 - Minor
-
4
-
Issue Summary
When inserting a white text with Color style using Source editor, the text appears in white on page publish. However, when the page is edited, the color of the white text turns into orange automatically. See screen recording color_change_on_page_edit.mov
Steps to Reproduce
- Open Confluence 9.2.x or 9.3.x
- Install Source editor from Find New Apps menu in administration
- Create a new page and publish it
- Edit the page, then click on <> to edit the source using Source Editor
- Insert the following code, click on Apply then Update
<span style="color: rgb(255,255,255);">Test Text</span>
- Notice the color of the text is white as expected
- Now edit the page again, notice that the color of the text turns orange
- Click on <> to edit the source, the following code appears:
<span style="color:var(--ds-background-accent-orange-subtler-pressed,#fea362);">Test Text</span>
Expected Results
The editor shouldn't modify the colour of the text on edit and it should remain the same
Actual Results
The page editor modifies the colour of the white text to orange on page edit
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available
We will troubleshoot this case but a correction to the expectation: in order to support theming, Confluence editor transforms any hard-coded colours into the closest colour from our palette. The original colour will not be preserved unless it's a 100% match to one of the colours in the palette.
This feature was introduced in Confluence 9.2: https://confluence.atlassian.com/doc/preparing-for-confluence-9-0-1333827518.html#PreparingforConfluence9.0-DarkthemeforConfluence