|
Member
|
shelley.ford-celero
-
7/25/2012 10:32:26 AM
Customize Text Color Palette
Hi, I was wondering if it is possible to customize the Text Color palette in the WYSIWYG tool bar. I see it can be removed entirely but I'm wondering if the colors offered in the palette can limited to match those defined for the site. Just so our clients can't add pink text.
|
|
|
Kentico Support
|
kentico_janh
-
7/26/2012 2:00:03 AM
RE:Customize Text Color Palette
Hello, All collors are defined in the \CMSAdminControls\CKeditor\ckeditor.js file, but this file is minified, so it is hard to navigate there. Please open it and there is the following code somewhere on the line 49: i.colorButton_colors='000,800000,8B4513,2F4F4F,008080,000080,4B0082,696969, B22222,A52A2A,DAA520,006400,40E0D0,0000CD,800080,808080,F00,FF8C00,FFD700, 008000,0FF,00F,EE82EE,A9A9A9,FFA07A,FFA500,FFFF00,00FF00,AFEEEE,ADD8E6,DDA0DD, D3D3D3,FFF0F5,FAEBD7,FFFFE0,F0FFF0,F0FFFF,F0F8FF,E6E6FA,FFF'
So here you can define any color you want just by replacing the old one. Please clear browser's cache to apply changes. Best regards, Jan Hermann
|
|