Opened 12 years ago
Last modified 12 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 )
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:
- Open outputHTML sample
- Clear contents, type foo and select text with Ctrl+A
- Apply foreground color e.g. blue.
- 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)
Change History (11)
Changed 12 years ago by
comment:2 Changed 12 years ago by
Status: | new → pending |
---|
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 12 years ago by
Yes, I meant Ubuntu. Late on a Friday...
Where might I find the new one to verify with?
comment:4 Changed 12 years ago by
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 12 years ago by
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:
- CTRL+A, DEL.
- Type 'foo'.
- Select 'foo' by mouse or by CTRL+A.
- Pick a background color. Style was applied.
- Select 'foo' once again, or leave empty selection in it.
- 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 12 years ago by
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:
- CTRL+A, DEL
- Type 'foo'
- Select 'foo' by mouse or CTRL+A
- Pick a foreground color. Style is applied
- Select 'foo' once again
- Pick 'automatic' from the foreground color picker. Style is not removed
comment:7 Changed 12 years ago by
Description: | modified (diff) |
---|---|
Status: | pending → confirmed |
Summary: | Automatic font color not applying once font color has been changed → Automatic font color not applying once font color has been changed (outputHTML) |
Version: | → 3.3 |
comment:8 Changed 12 years ago by
Description: | modified (diff) |
---|
comment:9 Changed 12 years ago by
Is this going to be fixed or should I just tell my QA team it's broken indefinitely?
comment:10 Changed 12 years ago by
This still seems to be an issue in latest CKEditor 4.2. I was able to reproduce this in every browser in OutputHTML sample.
Config file for my ckeditor