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

This widget could not be displayed.

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.

This widget could not be displayed.

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.

This widget could not be displayed.

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.

 

This widget could not be displayed.

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

This widget could not be displayed.

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
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

516 views 7 6
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