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?
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;
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
Thanks Stephen, we will try this out and post on thread, thanks for the help!!!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stephen we tried this and it broke the ability to create, or edit pages.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.