Hello
I'm invoking netspell outside of CuteEditor so that i can force the system to spellcheck before saving to the database.
In the past this has worked fine using this code:
var editor1 = document.getElementById("<%= edtResponse.ClientID %>");
var button1 = document.getElementById("<%= hdnSave.ClientID %>");
//Get the editor content
if (editor1 !== null) {
var edtext = editor1.innerText
edtext = edtext.replace(/^\s\s*/, '').replace(/\s\s*$/, '');
if (edtext == "") {
button1.click();
}
else {
var editdoc = editor1.GetDocument();
{
var editdoctext = editdoc.documentElement.innerText
if (editdoctext == "") {
button1.click();
}
else {
editor1.ExecCommand("NetSpell");
button1.click();
}
}
}
}
else {
button1.click();
}
However, with IE10 and changing to use <!DOCTYPE html>, this no longer works correctly: NetSpell comes up correctly, and visually updates the Editor window , but on saving the Editor has not actually been updated at all with the new spelling.
I have updated the dlls to be the latest 6.7 version but it makes no difference.
Can you help? This is a real sticking point.
I have updated the dlls to be the latest 6.7 version but it makes no difference.