IE10 issues with netspell outside of CuteEditor

Last post 10-21-2013, 8:44 PM by Kenneth. 3 replies.
Sort Posts: Previous Next
  •  10-20-2013, 9:37 PM 78156

    IE10 issues with netspell outside of CuteEditor

    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. 

  •  10-21-2013, 1:20 PM 78160 in reply to 78156

    Re: IE10 issues with netspell outside of CuteEditor

    Hi cheryll,

     

    Do you mean the spell checker window did not updated the editor content after the "replace" button? Can you post your editor page url here and show me the full steps to reproduce this issue? So we can check it directly.

     

    Also, you can send it to [email protected] 

     

    Regards,

     

    Ken 

  •  10-21-2013, 7:56 PM 78165 in reply to 78160

    Re: IE10 issues with netspell outside of CuteEditor

    Hi Kenneth

    Unfortunately I'm not able to supply a link as it is internal.

     

    If I comment out the code to push the button after the spellchecking, then I can see the editor content appears to have been correctly replaced by the spellchecker.  

     

    However if the code pushes the button after the spellchecking has finished, then the editor.Text value is as it was prior to the spellcheck replace.

     

    Hope this helps

     

    Thanks


    Cheryl 

  •  10-21-2013, 8:44 PM 78166 in reply to 78165

    Re: IE10 issues with netspell outside of CuteEditor

     Hi cheryll,

     

    I still not very clear how the issue looks like, can you send me a full exmaple page and show me the full steps to reproduce it?  

     

    Regards,

     

    Ken 

View as RSS news feed in XML