Opened 8 years ago
Last modified 8 years ago
#16663 confirmed Bug
Case sensitive class not applied on Chrome
Reported by: | Daniel | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Styles | Version: | 4.0 |
Keywords: | Cc: |
Description
For any extrange reason, dynamically added styles to editor with camel case are not being applied to content elements.
Steps to reproduce
On a clean CKEditor download
- Edit config.js and add those lines before the "editorConfig" function:
var cssStylesContenidoInteractivo = [ '.interElem { background:#dddddd; }' , ].join( ).replace(/;/g, ' !important;' ); CKEDITOR.addCss( cssStylesContenidoInteractivo );
- Comment the config.removeDialogTabs config option (to be able to assign a class)
- Open the editor on Chrome, create a link and set its style to "interElem". The style will not be applied. In the other hand, if you apply the style "interelem" (lower case) the style is applied.
Expected result
class interElem to be applied to the element
Actual result
class interElem is not applied to the element
Other details (browser, OS, CKEditor version, installed plugins)
It happens in Chrome, in different Windows installations, tested with CKEditor 4.3.3 and 4.5.11
Attachments (1)
Change History (4)
Changed 8 years ago by
Attachment: | ckeditor_4_5_11.rar added |
---|
comment:1 Changed 8 years ago by
Status: | new → confirmed |
---|
comment:2 Changed 8 years ago by
Version: | → 4.3.3 |
---|
comment:3 Changed 8 years ago by
Version: | 4.3.3 → 4.0 |
---|
Problem can be reproduced at least from CKEditor 4.0.0.
CKEditor with the commented configuration