Markup {color} doesn't work

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

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.

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.

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.

 

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

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.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

1,231 views 23 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you