#4941 closed Bug (invalid)
stylesCombo_stylesSet broken in IE 8
Reported by: | Joe Audette | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Styles | Version: | 3.0.2 |
Keywords: | Cc: |
Description
I've defined custom styles in an external file, it works great in Firefox and Chrome but in IE 8 when I click the styles dropdown I get and error length is null or not an object ckeditor.js line 63 char 1059
I've tried both relative and full urls for the file and the error is the same in both cases.
Attachments (1)
Change History (3)
Changed 15 years ago by
Attachment: | ckstyles.js added |
---|
comment:1 Changed 15 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
class is a reserved word in Javascript, so you must quote it to avoid errors.
comment:2 Changed 15 years ago by
Wow, that was fast! Thanks, you are right wrapping quotes around the class attribute fixed it. Many thanks for your prompt help.
this is a sample file I was trying to use