Hi guys,
Ok, I know you may not believe me, but I have EXACTLY the same php sourcecode on 2 different pages (same directory level, both pages are not loaded at the same time) and on one page the editor displays, on the other it returns following error:
Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMNSHTMLDocument.execCommand]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://www.mywebsite.com/path/to/fck/ed ... gecko_1.js :: anonymous :: line 41" data: no]
Anyone experienced the same problem? Any suggestions perhaps?
Thu, 04/21/2005 - 15:53
#1
RE: BUG (?) for FF:
L40: FCK.MakeEditable=function(){
L41: this.EditorWindow.document.designMode='on';
L42: this.EditorWindow.document.execCommand('useCSS',false,!FCKConfig.GeckoUseSPAN);};
if I comment out L41, then L42 throws the same error type just with a different text...
RE: BUG (?) for FF:
<div id="layer_html" style="visibility: hidden; display: none;">
I then focus on that layer using following link:
<a href="javascript:show_editbox('html');">HTML Mode</a>
If I click on that link before the line loads, fckeditor displays correctly. If I wait, then the JS error is called. Perhaps this is a bug-report more than a help-request ? If anyone has a solution please let me know.