Ticket #4546 (closed Bug: fixed)

Opened 5 years ago

Last modified 5 years ago

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:

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

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

Change History

Changed 5 years ago by garry.yao

comment:1 Changed 5 years ago by garry.yao

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

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

comment:2 Changed 5 years ago by fredck

  • Keywords Review+ added; Review? removed

comment:3 Changed 5 years ago by garry.yao

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

Fixed with [4452].

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