Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#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)

ckstyles.js (293 bytes) - added by Joe Audette 10 years ago.
this is a sample file I was trying to use

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by Joe Audette

Attachment: ckstyles.js added

this is a sample file I was trying to use

comment:1 Changed 10 years ago by Alfonso Martínez de Lizarrondo

Resolution: invalid
Status: newclosed

class is a reserved word in Javascript, so you must quote it to avoid errors.

comment:2 Changed 10 years ago by Joe Audette

Wow, that was fast! Thanks, you are right wrapping quotes around the class attribute fixed it. Many thanks for your prompt help.

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