Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Markup {color} doesn't work

Jan Schwoebel September 25, 2015

In Confluence 5, I can no longer write markup in the rich text editor, at least not everything is working

 

I can use 

*bold* to make it bold

but

{color:red} bla {color} doesn't work

Did the syntax change? Is there a different way then opening up the actual markup editor?
 

5 answers

1 vote
Jared Dohrman [Design Industries]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 26, 2015

Hi @Craig Skipsey, @Jan Schwoebel,

Agree with Sharon, the Color macro appears to have been removed, however you can still use it and use custom hex colours by doing the following:

  • From the menu, click the Markup macro plus Insert > Markup
  • Ensure Confluence wiki is selected
  • Enter your text on the left, confirm preview is correct and then click Insert

(example: {color:#FF0000}text{color} will show a red colour)

Note: Any and all text typed after this will be in that colour.

Thanks,

Jared.

Yuremi Y Conde
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 17, 2020

This worked for me, thank you! 

0 votes
Jan Schwoebel October 22, 2015

Craig, unfortunately, I didn't find a solution. We currently use the "rich-text" editor, which is build in. 

0 votes
Craig Skipsey
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 22, 2015

Jan, did you find a solution to this?  I have the same problem

I really hope it hasn't been removed as Sharon suggested above.  The editor only lets you choose standard colors, not custom ones by hex code.

 

0 votes
Sharon Hinde
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 5, 2015

Hi Jan,

from the looks of it the 'color' macro has been removed in favour of using the 'Word' style text option at the top of the menu. So to change the colour of text in the latest editors:

  • select the text to highlight it
  • use the text formatting menu (dropdown starts with an underlined A)
  • choose a colour from the picker

Your text should be coloured.

0 votes
Milo Test
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 29, 2015

Something may have changed, perhaps unintentionally; consider browsing for and/or opening a bug ticket: https://jira.atlassian.com

In the meantime, if you are using confluence server, here is a quick user macro that nearly replicates it:

## Macro title: Text Color
## Macro has a body: Y
## Body processing: Rendered
## Output: HTML
##
## Developed by: MIlo Grika
## Date created: 09/28/2015
## This is a replacement text coloring macro
## @param color:title=Color|type=string|required=true|desc=The color of the text.
<font color="$paramcolor">$body</font>

just type

{textcolor:color=red}

then whatever you want to be that color, then the down arrow on the keyboard to leave the macro and continue typing.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events