Opened 8 years ago

Last modified 8 years ago

#14436 confirmed New Feature

[IE] Use color HEX format instead of RGB for colorpicker

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

Description

Steps to reproduce

  1. Type any text in ckEditor4.5.6
  2. Apply the text-color
  3. Switch to source mode
  4. The color is using RGB format while we want HEX format
  5. P.S. We have changed color definition from SPAN to FONT using below code

config.colorButton_foreStyle = {

element: 'font', attributes: { 'color': '#(color)' }

};

Expected result

<font style="color: #000000">Hello</font>

Actual result

<font style="color: rgb(0, 0, 0);">Hello </font>

Other details (browser, OS, CKEditor version, installed plugins)

Browser – IE 11 OS – Windows 7 ckEditor – 4.5.6 Application – ASP.Net (Visual Studio 2013)

Change History (1)

comment:1 Changed 8 years ago by kkrzton

Status: newconfirmed
Summary: Font color - Using RGB format instead of HEX[IE] Use color HEX format instead of RGB for colorpicker
Type: BugNew Feature
Version: 4.5.6

The color representation using RGB is valid representation, same as HEX, so it is more like a feature request.

While in Blink and FF HEX is used, IE for some reason uses RGB so to keep color representation consistent, HEX should be also used in IE.

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