Opened 15 years ago

Closed 15 years ago

#4546 closed Bug (fixed)

uiColor creates wrong css-code when editor-id contains colons

Reported by: Frank Stolle Owned by: Garry Yao
Priority: Normal Milestone: CKEditor 3.1
Component: General Version: SVN (CKEditor) - OLD
Keywords: Confirmed Review+ Cc:

Description

if you replace your textarea with an editor using uiColor and the textarea id contains an colon (famous in jsf-applications), the generated css-code doesn't work.

Patch for setUiColor: replace s='#cke_'+m.replace('.','
.') with s='#cke_'+m.name.replace(/:/g, '
:').replace('.','
.')

Attachments (1)

4546.patch (1.9 KB) - added by Garry Yao 15 years ago.

Download all attachments as: .zip

Change History (4)

Changed 15 years ago by Garry Yao

Attachment: 4546.patch added

comment:1 Changed 15 years ago by Garry Yao

Keywords: Confirmed Review? added
Milestone: CKEditor 3.1
Owner: set to Garry Yao
Status: newassigned
Version: CKEditor 3.0SVN (CKEditor)

Thanks muhviehstarr, I've provided a patch with a css selector escape mechanism.

comment:2 Changed 15 years ago by Frederico Caldeira Knabben

Keywords: Review+ added; Review? removed

comment:3 Changed 15 years ago by Garry Yao

Resolution: fixed
Status: assignedclosed

Fixed with [4452].

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