Hi!
I need to have a proper color palette in the editor as a toolbar that should appear if Tools="@EditorToolSets.All" is applied. I need to have an editor with descent background, highlight, and foreground/font color.
3 Answers, 1 is accepted
Hi Hassan,
You can Follow the implementation of a built-in tool for that here: https://feedback.telerik.com/blazor/1480866-text-color-pickers. I've added your Vote for it, and the thread offers a workaround you can implement for the time being.
Regards,
Marin Bratanov
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
Hello Hassan,
You can implement your own color picker based on the kendo picker as explained here https://github.com/telerik/blazor-ui/tree/master/common/kendo-in-blazor. Then, use that as a custom tool like shown in the demo: https://demos.telerik.com/blazor-ui/editor/custom-tools.
The page I previously linked is where you can get notifications for when such a feature becomes available out-of-the-box. At the moment, there isn't a ready-made option for this yet.
On another note - the Kendo UI widgets are jQuery widgets, and the UI for Blazor components are native Blazor components so they don't rely on jQuery and they don't wrap Kendo widgets. Thus, since there isn't a Blazor ColorPicker yet (you can Follow that here), the only option i could suggest is rolling out your own - either by basing it on the jQuery widgets as per the idea above, or creating something entirely your own (say, a dropdown list with a few colors).
Regards,
Marin Bratanov
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.