asp.net mvc - Custom font color tool in Kendo Editor -


i want know if it´s possible remove colors in font color tool of kendo editor ... have this.

@(html.kendo().editor()                 .name("editor")                 .tools(tools => tools.clear().fontcolor())                 .htmlattributes(new { @class = "some_class" })                 .events(e => e.change("someevent"))     ) 

i need allow red , green colors.

thanks in advance.

try code,

below code execute in page load event. in if condition have display color displayed

    $(".k-palette,.k-reset").find('ul.k-palette').find('li').each(function () {                 if ($(this).attr('aria-label') === "#ffccff")  {                                 $(this).css('display','block');                 }                 else { $(this).css('display', 'none'); }             }); 

Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -