Ticket #3611 (closed Bug: duplicate)
Automatic option doesn't work for font and background color
| Reported by: | highjinx_53 | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | General | Version: | SVN (CKEditor) - OLD |
| Keywords: | HasPatch Confirmed | Cc: |
Description
The automatic option for these dropdowns never works. To reproduce type any text into one of the nightly samples, highlight the text and change its color to a specific color. Then click the Automatic option. The text will remain colored.
This is because of a bug in CKEDITOR.style.checkElementRemovable(). The problem is that checkElementRemovable, when called from removeInlineStyle, should match any element with the color or background-color style, regardless of value. Attached is a patch which fixes this.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
