Javascript Error Using Karamasoft Ultimate Spell, IE, and Style Tags...

Last post 07-22-2015, 9:34 AM by Pilotaso. 4 replies.
Sort Posts: Previous Next
  •  12-04-2006, 1:37 PM 24845

    Javascript Error Using Karamasoft Ultimate Spell, IE, and Style Tags...

     
    I'm hoping someone can help me on this one, but I admit it's a long shot.

    I created a content manangment system using CuteEditor and UltimateSpell for the spell checker...when I try and spell check content a JavaScript error is thrown if their are certain style tags...  for example, if I have an image on the page with style tags like this...

    <img style="BORDER-LEFT-COLOR: #ff0000; BORDER-BOTTOM-COLOR: #ff0000; BORDER-TOP-COLOR: #ff0000; BORDER-RIGHT-COLOR: #ff0000" height=266 alt="" src="http://www.oplin.org/tree/fact%20pages/maple_sugar/tree.jpg" width=190 border=3>

    ...it will cause an error.  If I remove the style tags, there is no error.  I think the UltimateSpell parser is choking on the style tags...not all, but some.  not sure why.  However, if I use Firefox, there are no errors...the spell checker works perfect.  My client uses IE, so this is not really on option.  I have set up a test page where you can see the error.  Go here...

    http://www.smackcart.com/NewOohLaLa/AdminCMS/PageSectionEditor.aspx?pid=dc92f8e44f67432a8a1f853c3f992d06&sid=be34780844134761b79995257e38efde&mode=edit

    Username: test
    Password: test

    ...follow the instructions on screen.  Any help/ideas are apprciated. Again, this works fine in Firefox, but not in IE.
    One final question, since this does not hapen in FireFox, is there a way to force the Gecko Dialogs to show in IE?  I would hate to do this because I lose functionality, but I might now have a choice.  The IE dialogs are doing something the Gecko dialogs aren't

    Thanks in advance!

    Steve

  •  12-04-2006, 1:59 PM 24846 in reply to 24845

    Re: Javascript Error Using Karamasoft Ultimate Spell, IE, and Style Tags...

    Steve,
     
    I tested your page. I did get the same error.
     
    Howwever I post your code into the following example:
     
     
    I didn't find any error.
     
    >>Any help/ideas are apprciated. Again,
     
    For some reassons, your spell checker has problems pass style tags.  This has nothing to do with Cute Editor. Just send a ticket to the author, and tell him, the above HTML code caused the problem.
     
    >>is there a way to force the Gecko Dialogs to show in IE? 
     
    NO.
     
     
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  12-04-2006, 5:12 PM 24848 in reply to 24845

    Re: Javascript Error Using Karamasoft Ultimate Spell, IE, and Style Tags...

    Thanks for the reply,
     
    UltimateSpell is a great 3rd party Spell Checker from Karamasoft...  It is not NetSpell... that why my code worked in the online demo...anyway, I figured it out...
     
    ...it was very crafty solution, but it entailed using the Javascript API getHTML() method to move the editor content to a hidden textarea (css tag "visibility:hidden") and then have the spell checker check the text area and not the Editor IFRAME.  The works flawlessly...after the spell check is complete, I use the JavaScript API to move the update textarea text back into the Editor IFRAME... what a hassle... but it's working sweet now...
     
    I know I have to be the only person to have integrated the KaramaSoft Spell Checker with CuteEditor to date...getting these two components to play nice (in IE) takes some very tricky JavaScript (a little more than I described here).  If anyone wants more details, let me know...
  •  12-10-2007, 8:50 PM 35753 in reply to 24848

    Re: Javascript Error Using Karamasoft Ultimate Spell, IE, and Style Tags...

    bigdoggy007:

     
    I know I have to be the only person to have integrated the KaramaSoft Spell Checker with CuteEditor to date...getting these two components to play nice (in IE) takes some very tricky JavaScript (a little more than I described here).  If anyone wants more details, let me know...
     
    Hi BigDoggy
     
    I'm thinking of getting KaramaSoft's spell checker and integrating it with a site.   Are you able to provide the javascript you used to get it working?  Save me reinventing the wheel!
     
    Wouldn't  mind being able to have the "spellcheck as you type" checking working (with the underlined incorrect words), but I doubt that would work?
     
    Cheers,
     
    Kane
  •  07-22-2015, 9:34 AM 80534 in reply to 35753

    Re: Javascript Error Using Karamasoft Ultimate Spell, IE, and Style Tags...

    Thank you for the informative posts.
    Smartmatic
View as RSS news feed in XML