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)
Change History (4)
Changed 15 years ago by
Attachment: | 4546.patch added |
---|
comment:1 Changed 15 years ago by
Keywords: | Confirmed Review? added |
---|---|
Milestone: | → CKEditor 3.1 |
Owner: | set to Garry Yao |
Status: | new → assigned |
Version: | CKEditor 3.0 → SVN (CKEditor) |
comment:2 Changed 15 years ago by
Keywords: | Review+ added; Review? removed |
---|
Thanks muhviehstarr, I've provided a patch with a css selector escape mechanism.