When trying to submit a form with taht contains a FCKEditor, Mozilla throws the following error:
sXHTML has no properties
File: /fckeditor/editor/js/fckeditorcode_gecko_1.js
The error occurs here:
return sXHTML.substr(7, sXHTML.length - 15);
I tracked it down to :
var sXHTML=this.MainNode.xml;
this.MainNode doesn't have an attribute called 'xml',
that's why sXHTML is undefined.
Hope that helps....
sXHTML has no properties
File: /fckeditor/editor/js/fckeditorcode_gecko_1.js
The error occurs here:
return sXHTML.substr(7, sXHTML.length - 15);
I tracked it down to :
var sXHTML=this.MainNode.xml;
this.MainNode doesn't have an attribute called 'xml',
that's why sXHTML is undefined.
Hope that helps....
RE: Submitting form fails on Mozilla
For now you can do this to solve the problem (just add it on the code you use to create the editor:
--------------
if ( ! document.all )
oFCKeditor.Config['EnableXHTML'] = false ;
--------------
It disables XHTML on non IE browsers.
Thanks for your notes.
Best regards,
FredCK
Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn
RE: Submitting form fails on Mozilla
Thanks for the quick reply!
Btw FCKEditor is a great piece of Software!
I've been fiddling a lot with HTMLArea and I'm
happy I found the FCKEditor
Around when will the next version be released?
RE: Submitting form fails on Mozilla
Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn