Browsers:
FF18: broken
Chrome: broken
IE9: works
Ckeditor Version: Latest as of yesterday
If I enable spell check automatically in my config using: config.scayt_autoStartup=true; or if I manually click the scayt dropdown and select "Enable SCAYT" I get the following error.
TypeError: ss.appendChild is not a function
http://svc.webspellchecker.net/scayt26/_base.xd.js?
Line 4107
It works fine for me on the demo site but for some reason on mine it doesn't and I get that error.
I know it's dying in webspellchecker source code itself but I assume it must be how it's interacting with the ckeditor source code or something. I debugged where it's dying and it's in an addCss function on the bolded part below
addCss:function(_3f5,_3f6){
var t=this,ss=scayt.dynamicStyleMap[name],_3f9=_3f5+" {"+_3f6+"}",_3fa="data-cke-temp",_3fb=false;
if(/^CKEDITOR/i.test(t.assocApp)){
var _3fc=window.CKEDITOR.version.split(".");
if(_3fc[0]<=3&&_3fc[1]<=4){
_3fa="cke_temp";
}
}
if(!ss){
if(this.document.createStyleSheet){
try{
ss=t.document.createStyleSheet(); //Dies here and hits the catch
ss._indicies=[];
}
catch(e){
_3fb=true;
}
}else{
ss=t.document.createElement("style");
_4.attr(ss,_3fa,"2");
ss.setAttribute("type","text/css");
t.document.getElementsByTagName("head")[0].appendChild(ss);
ss._indicies=[];
}
}
if(_4.isIE&&!_3fb){
ss.cssText+=_3f9;
_4.attr(ss.owningElement,_3fa,"2");
}else{
if(_4.isIE&&_3fb){
var _3fd=t.document.styleSheets[document.styleSheets.length-1];
_3fd.cssText+="\r\n"+_3f9;
ss={};
ss["_indicies"]=[];
}else{
if(ss.sheet){
ss.sheet.insertRule(_3f9,ss._indicies.length);
}else{
ss.appendChild(t.document.createTextNode(_3f9)); //Dies here which causes the error above
}
}
}
ss._indicies.push(_3f5+" "+_3f6);
ss.scayt=true;
return ss;
}

There was a SCAYT bug that
There was a SCAYT bug that was fixed. Maybe you can find some useful info there. If you think you've got a new bug, feel free to create a new ticket.
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
Turns out the bug was
Turns out this bug was occurring because my project contains a custom createStyleSheet function on document as FF/Chrome don't have it. The implementation was slightly off causing the error in the OP and that is also the reason why it works in IE.
I fixed the function and the error has gone away. Alternatively I could have just removed the custom createStyleSheet function and it would have worked as well and I presume 99.9+% of sites out there don't have their own implementation so they will never see this but for that one person that may stumble across this issue here is your solution!
Great to see you managed to
Great to see you managed to fix the issue -- and thanks a lot for sharing your solution, it will surely make the life of "that one (unlucky) person" easier! :-)
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!