This is a migrated thread and some comments may be shown as answers.

Kendo UI Editor - Change default colors of font color picker and background color picker

1 Answer 1281 Views
Editor
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 19 Jan 2017, 02:37 AM

we are in the process to upgrade an application to version 2016 R3 there  is control Kendo UI Editor and I want to choose which color will appear in the font and background color palettes. Or another alternative is letting the user choose from a custom color picker. Using the  older version of Kendo 2012.  Here is the running Jsbin example using kendo using existing 2012 version

http://jsbin.com/merejeqenu/edit?html,js,output

I want to do achieve same using kendo version 2016 since if use same code kendo version 2016 I get this error

Uncaught TypeError: Cannot read property 'fn' of undefined

Please guide on how i can accomplish same thing using  kendo 2016 version

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 19 Jan 2017, 02:10 PM

Hello John,

There is built-in API that you can use to change the FontColor and BackColor dropdowns. Here you are - 

Documentation - http://docs.telerik.com/kendo-ui/api/javascript/ui/editor#configuration-tools.palette 
Dojo sample - http://dojo.telerik.com/@RumenJ/uFiwo

Best regards,
Rumen
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Editor
Asked by
John
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or