Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#3611 closed Bug (duplicate)

Automatic option doesn't work for font and background color

Reported by: Josh Nisly 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 (1)

3611.patch (2.0 KB) - added by Josh Nisly 16 years ago.

Download all attachments as: .zip

Change History (4)

Changed 16 years ago by Josh Nisly

Attachment: 3611.patch added

comment:1 Changed 16 years ago by Artur Formella

Keywords: hasPatch Confirmed added; HasPatch removed
Milestone: CKEditor 3.x

comment:2 Changed 16 years ago by Artur Formella

Resolution: duplicate
Status: newclosed

DUP of #3728

comment:3 Changed 15 years ago by Frederico Caldeira Knabben

Keywords: HasPatch added; hasPatch removed
Milestone: CKEditor 3.x
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