Comments on: Rich Text Spell Checker http://me.eae.net/archive/2005/06/12/rich-text-spell-checker/ The journal of Emil A Eklund Sun, 25 Jun 2017 04:53:48 +0000 http://wordpress.org/?v=2.0 by: shashikant http://me.eae.net/archive/2005/06/12/rich-text-spell-checker/#comment-220983 Tue, 03 Jun 2008 14:03:31 +0000 http://me.eae.net/archive/2005/06/12/rich-text-spell-checker/#comment-220983 Nice Work!! This are working in Mozilla but It's not working with IE6 and IE7 at all Is there any work around ? Please help me... Nice Work!!
This are working in Mozilla but It’s not working with IE6 and IE7 at all
Is there any work around ?
Please help me…

]]>
by: Lokesh http://me.eae.net/archive/2005/06/12/rich-text-spell-checker/#comment-212040 Fri, 23 May 2008 15:54:25 +0000 http://me.eae.net/archive/2005/06/12/rich-text-spell-checker/#comment-212040 hello there i am lokesh and i need some help in this spell check as we use citrix in our company and i need to add a spell check in one of the application and it is working only when it is stored in desktop and when we use a shard folder it is not working so can you help me in telling how we can use it by uploading it to web. and please contact me on my mail sundar.lokesh@gmail.com hello there i am lokesh and i need some help in this spell check as we use citrix in our company and i need to add a spell check in one of the application and it is working only when it is stored in desktop and when we use a shard folder it is not working so can you help me in telling how we can use it by uploading it to web. and please contact me on my mail sundar.lokesh@gmail.com

]]>
by: Girish Singh http://me.eae.net/archive/2005/06/12/rich-text-spell-checker/#comment-176572 Fri, 04 Apr 2008 02:29:20 +0000 http://me.eae.net/archive/2005/06/12/rich-text-spell-checker/#comment-176572 Awesum work, I had imagined such things could be done, but never really bothered with it. You could just create a spell check for asp.net using some code like <a href="http://www.mabaloo.com/Software-Development/Spell-Checker-Routine-Using-VB.html" rel="nofollow">http://www.mabaloo.com/Software-Development/Spell-Checker-Routine-Using-VB.html</a> And get things done on server side Awesum work, I had imagined such things could be done, but never really bothered with it. You could just create a spell check for asp.net using some code like

http://www.mabaloo.com/Software-Development/Spell-Checker-Routine-Using-VB.html

And get things done on server side

]]>
by: Jitender http://me.eae.net/archive/2005/06/12/rich-text-spell-checker/#comment-70771 Thu, 03 May 2007 10:25:36 +0000 http://me.eae.net/archive/2005/06/12/rich-text-spell-checker/#comment-70771 If you want to integrate JSP Spell Checker with FCK Editor, here's how you will do it: NOTE: The reason JSP SpellChecker does not work with FCK Editor by default is because at the time of replacing the contents it gets confused, as it cannot refer the text area anymore. The only way to update the text area which has been rendered by FCKEditor is by using FCKEditor object itself! (remember FCKEditor object creates IFrame etc. around the text area - so it is no longer accessible in the normal fashion!) Here we go !~ //Get the instance of FCKEditor object oEditor = FCKeditorAPI.GetInstance( "myTextArea");//put this as globally accessible variable myTextArea is the text area you converted to FCK Editor. In spellcheck-functions.jsp, Look for this function: replaceWordInFieldIE. Here get handle to oEditor (remember its in your parent window). So you may do something like this: oEditor = opener.blah blah... var oldHTML = "" + oEditor.GetHTML(); var originalWord = "" + word; // original word to replace var newWord = "" + newWord; // new word to replace var newHTML = oldHTML.replace(originalWord, newWord); //new string to set. oEditor.SetHTML(newHTML); return; Ofcourse you will have to take care the your string replacement function is smarter than this, since it deals with html it can potenially replace even the text inside html tags. But this is how you do it ! If you want to integrate JSP Spell Checker with FCK Editor, here’s how you will do it:

NOTE: The reason JSP SpellChecker does not work with FCK Editor by default is because at the time of replacing the contents it gets confused, as it cannot refer the text area anymore. The only way to update the text area which has been rendered by FCKEditor is by using FCKEditor object itself! (remember FCKEditor object creates IFrame etc. around the text area - so it is no longer accessible in the normal fashion!)

Here we go !~

//Get the instance of FCKEditor object
oEditor = FCKeditorAPI.GetInstance( “myTextArea”);//put this as globally accessible variable

myTextArea is the text area you converted to FCK Editor.

In spellcheck-functions.jsp, Look for this function: replaceWordInFieldIE.

Here get handle to oEditor (remember its in your parent window). So you may do something like this:
oEditor = opener.blah blah…

var oldHTML = “” + oEditor.GetHTML();
var originalWord = “” + word; // original word to replace
var newWord = “” + newWord; // new word to replace
var newHTML = oldHTML.replace(originalWord, newWord); //new string to set.
oEditor.SetHTML(newHTML);
return;

Ofcourse you will have to take care the your string replacement function is smarter than this, since it deals with html it can potenially replace even the text inside html tags. But this is how you do it !

]]>
by: Mark http://me.eae.net/archive/2005/06/12/rich-text-spell-checker/#comment-54969 Wed, 14 Mar 2007 15:38:43 +0000 http://me.eae.net/archive/2005/06/12/rich-text-spell-checker/#comment-54969 Has anybody made any progress on integrating Emil's code with fckeditor? thx Has anybody made any progress on integrating Emil’s code with fckeditor? thx

]]>
by: Daniel http://me.eae.net/archive/2005/06/12/rich-text-spell-checker/#comment-10264 Sun, 15 Oct 2006 19:02:20 +0000 http://me.eae.net/archive/2005/06/12/rich-text-spell-checker/#comment-10264 Great Work. I was looking for this long time ago. Thank Great Work. I was looking for this long time ago.
Thank

]]>
by: Scott http://me.eae.net/archive/2005/06/12/rich-text-spell-checker/#comment-4590 Sat, 19 Aug 2006 21:12:03 +0000 http://me.eae.net/archive/2005/06/12/rich-text-spell-checker/#comment-4590 I tried to use your code locally but this error: Error: uncaught exception: Permission denied to call method XMLHttpRequest.open any suggestions? I tried to use your code locally but this error:
Error: uncaught exception: Permission denied to call method XMLHttpRequest.open

any suggestions?

]]>
by: Bhargava http://me.eae.net/archive/2005/06/12/rich-text-spell-checker/#comment-3760 Fri, 04 Aug 2006 11:53:44 +0000 http://me.eae.net/archive/2005/06/12/rich-text-spell-checker/#comment-3760 Hi Emil, I found your spell checker really great one. But we are using a framework called ES-framework build on IBM WebSphere. Which is more a tag based components. Right now I have not implemented this on it. So I just want to know, can you use this idea is ES-framework such that it doesn't create any problems. Thanks in advance, Bhargava Hi Emil,

I found your spell checker really great one. But we are using a framework called ES-framework build on IBM WebSphere. Which is more a tag based components. Right now I have not implemented this on it. So I just want to know, can you use this idea is ES-framework such that it doesn’t create any problems.

Thanks in advance,
Bhargava

]]>
by: Bruce Ritchie http://me.eae.net/archive/2005/06/12/rich-text-spell-checker/#comment-1613 Tue, 30 May 2006 21:54:53 +0000 http://me.eae.net/archive/2005/06/12/rich-text-spell-checker/#comment-1613 Emil, Very useful script! I'm working on evaluating it for our application, however I can across an issue that has me stumped. As best as I can see the overlay trick you use requires that the textarea have position: absolute; applied to it. That's fine however I'm seeing having that is breaking all my surrounding div's (I'm wrapping the textarea in a few div's for styling and other reasons) such that all the div's collapse overtop of the textarea. Have you ever come across this, and if so, do you have any suggestions on how to overcome this issue? Thanks in advance, Bruce Emil,

Very useful script! I’m working on evaluating it for our application, however I can across an issue that has me stumped. As best as I can see the overlay trick you use requires that the textarea have position: absolute; applied to it. That’s fine however I’m seeing having that is breaking all my surrounding div’s (I’m wrapping the textarea in a few div’s for styling and other reasons) such that all the div’s collapse overtop of the textarea.

Have you ever come across this, and if so, do you have any suggestions on how to overcome this issue?

Thanks in advance,

Bruce

]]>
by: Dee http://me.eae.net/archive/2005/06/12/rich-text-spell-checker/#comment-972 Tue, 09 May 2006 17:43:23 +0000 http://me.eae.net/archive/2005/06/12/rich-text-spell-checker/#comment-972 Hi, I wanted to confirm if I can integrate your spell checked component within my richtext editor in ASP pages? Thank you. Hi,

I wanted to confirm if I can integrate your spell checked component within my richtext editor in ASP pages?

Thank you.

]]>