Automatic option doesn't work for font and background color
|Reported by:||highjinx_53||Owned by:|
|Component:||General||Version:||SVN (CKEditor) - OLD|
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.
Change History (4)
Changed 8 years ago by highjinx_53
comment:1 Changed 8 years ago by arczi
- Keywords hasPatch Confirmed added; HasPatch removed
- Milestone set to CKEditor 3.x
comment:2 Changed 8 years ago by arczi
- Resolution set to duplicate
- Status changed from new to closed