Kendo Inline Editor selected text background color

2 posts, 0 answers
  1. Pawel
    Pawel avatar
    5 posts
    Member since:
    Mar 2013

    Posted 05 Sep 2015 Link to this post

    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?
  2. Dimo
    Admin
    Dimo avatar
    8333 posts

    Posted 09 Sep 2015 Link to this post

    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
  3. UI for ASP.NET MVC is VS 2017 Ready
Back to Top