I'm trying to use the editor on an HTA page but am receiving an error message half way through loading the page.
If I rename any of the HTML samples from .html to .hta, the page will launch and get half way through loading (all toolbars are correctly displayed), but then the following error message is thrown up:
Line: 24
Char: 67
Error: 'FCK.LinkedField.value' is null or not an object
Code: 0
URL: file://C:\fckeditor\editor\fckeditor.html
Does anybody have any ideas on how to resolve the issue? I've had a quick look through the file mentioned in the error message but line 24 doesn't appear to be relevant?
If I rename any of the HTML samples from .html to .hta, the page will launch and get half way through loading (all toolbars are correctly displayed), but then the following error message is thrown up:
Line: 24
Char: 67
Error: 'FCK.LinkedField.value' is null or not an object
Code: 0
URL: file://C:\fckeditor\editor\fckeditor.html
Does anybody have any ideas on how to resolve the issue? I've had a quick look through the file mentioned in the error message but line 24 doesn't appear to be relevant?
RE: Error Using Editor on an HTA Page
The error is thrown when the following operation is executed:
this.SetHTML(FCKTools.GetLinkedFieldValue());
The call to FCKTools.GetLinkedFieldValue() executes this line of code:
return FCK.LinkedField.value;
- which ties back to my original error message.
Unfortunatley the fckeditor_ie.js file is compressed and quite difficult to follow so I don't really know what is going on in there...
Can anybody help me out based on this new info / point me in the direction of an un-compressed copy of the .js file?
Cheers,
Matt
RE: Error Using Editor on an HTA Page
The 'FCK.StartEditor()' function is originally called from the StartEditor() function within the 'fckeditor.html' file.