Opened 8 years ago

Closed 8 years ago

#4546 closed Bug (fixed)

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

Reported by: muhviehstarr Owned by: garry.yao
Priority: Normal Milestone: CKEditor 3.1
Component: General Version: SVN (CKEditor) - OLD
Keywords: Confirmed Review+ Cc:


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_', '

Attachments (1)

4546.patch (1.9 KB) - added by garry.yao 8 years ago.

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by garry.yao

comment:1 Changed 8 years ago by garry.yao

  • Keywords Confirmed Review? added
  • Milestone set to CKEditor 3.1
  • Owner set to garry.yao
  • Status changed from new to assigned
  • Version changed from CKEditor 3.0 to SVN (CKEditor)

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

comment:2 Changed 8 years ago by fredck

  • Keywords Review+ added; Review? removed

comment:3 Changed 8 years ago by garry.yao

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed with [4452].

Note: See TracTickets for help on using tickets.
© 2003 – 2016 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy