Hi, If I use ckeditor (3.0.1) in a "application/xhtml+xml" type page, Firefox (3.5.3) throws this error:
uncaught exception: [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIDOMNSHTMLElement.innerHTML]" nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)" location: "JS frame :: http://localhost/ckeditor/ckeditor.js :: anonymous :: line 15" data: no]
Re: NS_ERROR_INVALID_POINTER error under Firefox
I found this page as an explanation of this error: http://www.javahelp.info/2009/10/14/the ... tml-story/ however what it suggests is not applicable. I don't plan to workaround this issue by downgrading the http header.
I've checked tinymce and it seems to be ok under application/xhtml+xml documents. As there seems to be a workaround for this issue, I believe ckeditor will resolve this some time in the future. But I don't plan to wait. I'm replying this to create a reference since there are not much results for (f)ckeditor + NS_ERROR_INVALID_POINTER thingy in a google search and since I couldn't locate a bug tracker, you can also accept this as a bug report.
HTH,
-Burak
Re: NS_ERROR_INVALID_POINTER error under Firefox
Re: INVALID_STATE_ERR DOM Exception 11
ckeditor.js:54 Uncaught error: INVALID_STATE_ERR: DOM Exception 11
I'm pretty sure the culprit is somewhere around the "nbsp" and "\xa0" processing, because I have just cleaned up a bunch of "\xa0" errors caused on my site by nbsp's and " " 's. Most of them needed to be double encoded like " " in order to avoid the "\xa0" errors. I say errors, because my UTF-8 page was not able to interpret "\xa0", it was always complaining about encoding errors. When I deleted or double-encoded the nbsp's I no longer got those errors.
So maybe ckeditor shouldn't refer to "\xa0"? Could that be?
Re: NS_ERROR_INVALID_POINTER error under Firefox
For the reference, this issue seems to be tracked in ticket #4576. I can imagine discussing this problem there would help to find a solution as well as show that this is a priority issue for more people than just a few.
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!