Opened 11 years ago

Last modified 11 years ago

#10407 confirmed Bug

Automatic font color not applying once font color has been changed (outputHTML)

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

Description (last modified by Jakub Ś)

Reproduce Steps: Open CKEditor Type text Highlight text and change font color Highlight text and click 'Automatic' in the font color drop down Observe the font color doesn't change to the automatic font color

Chrome (latest) on Linux 13.04 Gnome 3

I'm attaching my config file since I can't reproduce this on the CKEditor forum.


Edit:

  1. Open outputHTML sample
  2. Clear contents, type foo and select text with Ctrl+A
  3. Apply foreground color e.g. blue.
  4. Apply automatic color.

Result: it won't work. For some reason when foreground is represented by font tag (not span) removing tag (applying automatic color) won't work.

Problem can be reproduced from CKEditor 3.3 in both CKE 3.x and CKE 4.x.

Please also note that you don't need Linux for this. Problem can be reproduced anywhere.

Attachments (1)

config.js (6.3 KB) - added by Nora 11 years ago.
Config file for my ckeditor

Download all attachments as: .zip

Change History (11)

Changed 11 years ago by Nora

Attachment: config.js added

Config file for my ckeditor

comment:1 Changed 11 years ago by Piotrek Koszuliński

Linux 13.04? I suppose you meant Ubuntu 13.04 ;).

comment:2 Changed 11 years ago by Piotrek Koszuliński

Status: newpending

Anyway, I see that you're using config from pretty old version of HTML output sample. I tested your case on the newest one and there's no problem with it. Could you verify this?

comment:3 Changed 11 years ago by Nora

Yes, I meant Ubuntu. Late on a Friday...

Where might I find the new one to verify with?

comment:4 Changed 11 years ago by Nora

Used the configuration code from http://nightly.ckeditor.com/13-05-06-07-42/standard/samples/plugins/htmlwriter/outputhtml.html but still am seeing the bug. Is there more code I should attach that would be useful?

comment:5 Changed 11 years ago by Piotrek Koszuliński

Are you able to reproduce this on: http://nightly.ckeditor.com/13-05-06-07-42/full/samples/plugins/htmlwriter/outputhtml.html?

What I am doing:

  1. CTRL+A, DEL.
  2. Type 'foo'.
  3. Select 'foo' by mouse or by CTRL+A.
  4. Pick a background color. Style was applied.
  5. Select 'foo' once again, or leave empty selection in it.
  6. Pick 'automatic' from background color picker. Style was removed - text has white background again.

Tested on Chrome 26.0.1410.63 on Ubuntu 12.04.

comment:6 Changed 11 years ago by Nora

Background color works fine in my implementation, it's the font color that's not resetting to automatic. On that link I'm also unable to reset font color to automatic.

My steps:

  1. CTRL+A, DEL
  2. Type 'foo'
  3. Select 'foo' by mouse or CTRL+A
  4. Pick a foreground color. Style is applied
  5. Select 'foo' once again
  6. Pick 'automatic' from the foreground color picker. Style is not removed

comment:7 Changed 11 years ago by Jakub Ś

Description: modified (diff)
Status: pendingconfirmed
Summary: Automatic font color not applying once font color has been changedAutomatic font color not applying once font color has been changed (outputHTML)
Version: 3.3

comment:8 Changed 11 years ago by Jakub Ś

Description: modified (diff)

comment:9 Changed 11 years ago by Nora

Is this going to be fixed or should I just tell my QA team it's broken indefinitely?

comment:10 Changed 11 years ago by Jakub Ś

This still seems to be an issue in latest CKEditor 4.2. I was able to reproduce this in every browser in OutputHTML sample.

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