Forums

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

Edit font colour pallet in Editor

Greigh MacMichael December 11, 2018

We used to update the confluence server colours available in the text editor using the below article:  https://confluence.atlassian.com/confkb/how-to-customize-confluence-editor-s-color-palette-313464920.html


We upgraded to 6.12.0 that we host. Now I am being told that the .jar files look a little different and contain more information: 

OLD (just add to the hex list): 

'FF6600'


NEW

[ 'hex' : 'FF6600', 'name' : getText('tinymce.colorpicker.orange') ]

 

I can certainly add more values using the hex value, as for the name it looks like it is now reaching out to an end point for the company that actually makes the text editor that Altassian licenses from: https://www.tiny.cloud/ as per the 'tinymce'. 

Wondering if anyone has any experience modifying this in the new version? 

1 answer

0 votes
Stephen Sifers
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 12, 2018

Hello Greigh and welcome to the Community!

You have a very solid understanding of editing the color pallets within Confluence. As you noted, yes the JAR files have changed within Confluence 6.12+. With this said, you can edit the colors within the JAR files as follows;

[ 'hex' : '000000', 'name' : getText('tinymce.colorpicker.Color1') ],
[ 'hex' : '000001', 'name' : getText('tinymce.colorpicker.Color2') ],
[ 'hex' : '000002', 'name' : getText('tinymce.colorpicker.Color3') ],
[ 'hex' : '000003', 'name' : getText('tinymce.colorpicker.Color4') ],
[ 'hex' : '000004', 'name' : getText('tinymce.colorpicker.Color5') ],
[ 'hex' : '000005', 'name' : getText('tinymce.colorpicker.Color6') ],
[ 'hex' : '000006', 'name' : getText('tinymce.colorpicker.Color7') ],
[ 'hex' : '000007', 'name' : getText('tinymce.colorpicker.Color8') ]

Something to keep in mind is that you must select a color name listed within tinymce.colorpicker or your colors named will not display properly, example here for an incorrect name;

 image.png

Another item to be aware of is to ensure you are properly editing your JAR files so Confluence is able to access them. Follow the documentation to ensure you edit them correct; How to edit files in Confluence JAR files.

I hope this helps clarify how to edit the color pallet along with how to edit files within the JAR files.

Regards,
Stephen Sifers

Greigh MacMichael December 17, 2018

Thanks Stephen, we will try this out and post on thread, thanks for the help!!!!!

Like • Stephen Sifers likes this
Greigh MacMichael February 6, 2019

Hi Stephen we tried this and it broke the ability to create, or edit pages. 

Stephen Sifers
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 6, 2019

Hello Greigh,

When I tested and wrote the solution above I was able to create and edit pages (thus the screenshot above). I would be interested to know what was modified and how. From that, I would be able to retest and see if there is an issue.

Please let us know the steps you took to edit the color pallet and what was edited exactly within the files.

We look forward to your response so we may find out what's going wrong.

Regards,
Stephen Sifers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events