Opened 10 years ago

Closed 10 years ago

#11852 closed Bug (invalid)

improperly highlighting on changing text color

Reported by: Tony Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

When user changes the color of the text a couple of times - the text remains blue, but the highlighting is gone - the user's color selection is not displayed until you tap into the screen or send the message. This issue only occurs in IE. It works fine for some colors. steps to recreate:

  1. CKEditor demo
  2. enter a couple of words
  3. highlight all of the text and change the color(eg. Red)
  4. then select a word or two and change them to another color(eg. Orange)
  5. notice the text is changed to blue- and the highlighting is removed

Change History (1)

comment:1 Changed 10 years ago by Jakub Ś

Resolution: invalid
Status: newclosed
Version: 4.3.3

This "problem" can also be reproduced in HTML as well. In fact this isn't a bug but way how IE highlights these colours.

Please try using below code on HTML page and you will get same result when opening it in IE and highlighting orange word.

<p><span style="color:rgb(255, 0, 0)">test test</span><span style="color:rgb(255, 165, 0)"> test </span><span style="color:rgb(255, 0, 0)"> test test</span></p>

If you don't like it you can try changing it:
http://css-tricks.com/overriding-the-default-text-selection-color-with-css/
http://www.paulund.co.uk/change-browser-highlight-colour
http://www.codeitpretty.com/2012/11/set-custom-text-highlight-color-with-css.html

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy