-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
None
-
Affects Version/s: 10.2.0, 9.2.11
-
Component/s: Content - Page
-
None
-
1
-
Severity 3 - Minor
Problem
When pasting partially styled text (e.g. half coloured, half default) into a table cell in a newly added row, the text formatting is not preserved. Instead, the entire pasted text inherits the same style (e.g. all coloured red), losing the original mixed formatting.
This issue only affects newly added table rows. Pasting the same content into existing cells retains the correct mixed styling.
Environment
Confluence DC
Steps to Reproduce
- Create a new Confluence page.
- Insert a 2x2 table.
- In a table cell, enter a string of text (e.g. "asd fsdf"), and format only part of it (e.g. apply red colour to "asd" only).
- Copy that cell's content.
- Paste it into another existing cell → formatting is preserved.
- Now add a new row to the table.
- Paste the same text into a cell in the newly added row.
Expected Results
The pasted content should preserve the original inline formatting:
<td><span style="color:var(--ds-background-accent-red-subtle,#f87168);">asd</span>fsdf</td>
So that only "asd" is coloured, and "fsdf" remains in default colour.
Actual Results
All pasted text becomes styled (e.g. red), with formatting extending across the full string:
<td><span style="color:var(--ds-background-accent-red-subtle,#f87168);">asdfsdf</span></td>
Original inline styling boundaries are lost.
Workaround
Manually re-apply the formatting after pasting