No way to save the custom text colors from the UI. Easiest would be to switch to the Text editor and copy/paste the color value in a file on your computer.
Thanks, it is easy for me but for to whom is going to manage the site.
Can I add this to the code with some function in function.php?
I using child theme.
You can set the predefined colors: https://github.com/tinymce/tinymce/blob/master/js/tinymce/plugins/textcolor/plugin.js#L37.
Either make a small WP plugin or use something like https://ww.wp.xz.cn/plugins/advanced-tinymce-configuration/. Just make sure you follow the format exactly: it is a JS array where the odd values are the hex colors and the even values are the names.
Thanks, the second method assures that I not lose my change when I update the plugin?
Both ensure you won’t loose the changes when updating. The first requires you to know a little bit of PHP, the second doesn’t 🙂
Thanks, I will check this