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

Kendo Inline Editor selected text background color

1 Answer 386 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Pawel
Top achievements
Rank 1
Pawel asked on 05 Sep 2015, 01:15 PM
Hello,
I have a problem with setting the selection color in Kendo Editor in inline mode.
What I've discovered is that if a text inside the editor is not formatted everything is fine (meaning, selecting text with mouse highlight it with system defined color). Eveything breaks when add some styling. Bolding or underscoring text results in while color when selecting text.

I've observed the same issue on Components page (http://demos.telerik.com/kendo-ui/editor/inline-editing)

What could be the solution for this issue?

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 09 Sep 2015, 05:58 AM
Hello Pawel,

The Editor's selection depends on the following styles:

.k-editor-inline ::selection {
    background-color: ...;
    text-shadow: none;
    color: ...;
}

For the Material theme, the background color and text color are both white, which is a bug and we have just fixed it. While changes take effect in our next Kendo UI builds, you can override the above rule and set other colors of your preference.

Thank you for bringing the issue to our attention.

Regards,
Dimo
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Editor
Asked by
Pawel
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or