Hi,
I've got an application where the user can choose the kendo ui theme.
Within this application I use the Kendo editor component.
Is there a possibility to change the textcolor of the editor.
Or to add a CSS class.
I won't define style="color: #FFF" is must be something like class="<k-negative-color-to-this-theme>"
Here is a Dojo Example with a dark theme
https://dojo.telerik.com/oCeTOPir
In the example the background is dark and the color also?
regards
Maik
Hi Maik,
You can set the text color dynamically by using jQuery. Please review the following snippet:
$(document).ready(function(){ var editor = $("#editor").data("kendoEditor") editor.body.style.color = "white"; })
When the page is loaded, by getting a reference to the Editor component, its options can be modified.
Dojo demo: https://dojo.telerik.com/URUbUgUb
Regards,
Nikolay