-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
None
-
Affects Version/s: 7.13.4
-
Component/s: Content - Page
-
None
-
4
-
Severity 3 - Minor
-
1
Problem
When copying a page that has status Macro on it to another application like Word, Mail, Outlook, etc, the copied page will lose its format.
Environment
.
Steps to Reproduce
Create a page and add the StatusMacro to it.
Format the Status Macro items with different colors
Copy the page and paste it to an application that supports Rich Text/HTML
Expected Results
The Page is copied and the format is kept, In Confluence 7.4, when copying it, it shows as below:

Actual Results
The page is copied but the format/colors are not coming, as shown below:

Workaround
A site-wide workaround can be applied by configuring a custom global CSS stylesheet.
Simply add the following lines of CSS code to the existing stylesheet under General configuration > Look and feel > Stylesheet > Edit.
Administrator privileges are required.
/* Workaround for CONFSERVER-78153 */ #content .status-macro.aui-lozenge { background-color: #42526e; color: #fff; } #content .status-macro.aui-lozenge-error { background-color: #bf2600; color: #fff; } #content .status-macro.aui-lozenge-moved { background-color: #ff991f; color: #172b4d; } #content .status-macro.aui-lozenge-success { background-color: #00875a; color: #fff; } #content .status-macro.aui-lozenge-current { background-color: #0052cc; color: #fff; } #content .status-macro.aui-lozenge.aui-lozenge-subtle { background-color: #dfe1e6; color: #42526e; } #content .status-macro.aui-lozenge-error.aui-lozenge-subtle { background-color: #ffebe6; color: #bf2600; } #content .status-macro.aui-lozenge-moved.aui-lozenge-subtle { background-color: #fff0b3; color: #172b4d; } #content .status-macro.aui-lozenge-success.aui-lozenge-subtle { background-color: #e3fcef; color: #064; } #content .status-macro.aui-lozenge-current.aui-lozenge-subtle { background-color: #deebff; color: #0747a6; }
Notes
I noticed that on Confluence 7.4 -> The CSS formatting for the pills has the color directly assigned to it:

However, when we look at Confluence 7.13, the CSS formatting is directed to a variable instead of the current color:

Maybe this is something paying a role in how the copy/paste is made?
- relates to
-
CONFSERVER-77534 JIRA issue icons are not copied when pasting into Microsoft Word
-
- Gathering Impact
-
-
PSR-748 Loading...
- is related to
-
PS-92282 Loading...
- Mentioned in
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
