Ticket #4941 (closed Bug: invalid)

Opened 5 years ago

Last modified 5 years ago

stylesCombo_stylesSet broken in IE 8

Reported by: joeaudette Owned by:
Priority: Normal Milestone:
Component: Core : Styles Version: 3.0.2
Keywords: Cc:


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.


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

Change History

Changed 5 years ago by joeaudette

this is a sample file I was trying to use

comment:1 Changed 5 years ago by alfonsoml

  • Status changed from new to closed
  • Resolution set to invalid

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

comment:2 Changed 5 years ago by joeaudette

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 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy