<?xml version="1.0" encoding="utf-8"?><!-- generator="wordpress/2.0" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Rich Text Spell Checker</title>
	<link>http://me.eae.net/archive/2005/06/12/rich-text-spell-checker/</link>
	<description>The journal of Emil A Eklund</description>
	<pubDate>Fri, 16 May 2008 10:10:45 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0</generator>

	<item>
		<title>by: Girish Singh</title>
		<link>http://me.eae.net/archive/2005/06/12/rich-text-spell-checker/#comment-176572</link>
		<pubDate>Fri, 04 Apr 2008 02:29:20 +0000</pubDate>
		<guid>http://me.eae.net/archive/2005/06/12/rich-text-spell-checker/#comment-176572</guid>
					<description>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 

&lt;a href=&quot;http://www.mabaloo.com/Software-Development/Spell-Checker-Routine-Using-VB.html&quot; rel=&quot;nofollow&quot;&gt;http://www.mabaloo.com/Software-Development/Spell-Checker-Routine-Using-VB.html&lt;/a&gt;

And get things done on server side</description>
		<content:encoded><![CDATA[<p>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 </p>
<p><a href="http://www.mabaloo.com/Software-Development/Spell-Checker-Routine-Using-VB.html" rel="nofollow"><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></a></p>
<p>And get things done on server side
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Jitender</title>
		<link>http://me.eae.net/archive/2005/06/12/rich-text-spell-checker/#comment-70771</link>
		<pubDate>Thu, 03 May 2007 10:25:36 +0000</pubDate>
		<guid>http://me.eae.net/archive/2005/06/12/rich-text-spell-checker/#comment-70771</guid>
					<description>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( &quot;myTextArea&quot;);//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 = &quot;&quot; + oEditor.GetHTML();
var originalWord = &quot;&quot; + word; // original word to replace
var newWord = &quot;&quot; + 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 !</description>
		<content:encoded><![CDATA[<p>If you want to integrate JSP Spell Checker with FCK Editor, here&#8217;s how you will do it:</p>
<p>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!)</p>
<p>Here we go !~</p>
<p>//Get the instance of FCKEditor object<br />
oEditor = FCKeditorAPI.GetInstance( &#8220;myTextArea&#8221;);//put this as globally accessible variable</p>
<p>myTextArea is the text area you converted to FCK Editor.</p>
<p>In spellcheck-functions.jsp, Look for this function: replaceWordInFieldIE. </p>
<p>Here get handle to oEditor (remember its in your parent window). So you may do something like this:<br />
oEditor = opener.blah blah&#8230; </p>
<p>var oldHTML = &#8220;&#8221; + oEditor.GetHTML();<br />
var originalWord = &#8220;&#8221; + word; // original word to replace<br />
var newWord = &#8220;&#8221; + newWord; // new word to replace<br />
var newHTML = oldHTML.replace(originalWord, newWord); //new string to set.<br />
oEditor.SetHTML(newHTML);<br />
return;</p>
<p>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 !
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Mark</title>
		<link>http://me.eae.net/archive/2005/06/12/rich-text-spell-checker/#comment-54969</link>
		<pubDate>Wed, 14 Mar 2007 15:38:43 +0000</pubDate>
		<guid>http://me.eae.net/archive/2005/06/12/rich-text-spell-checker/#comment-54969</guid>
					<description>Has anybody made any progress on integrating Emil's code with fckeditor? thx</description>
		<content:encoded><![CDATA[<p>Has anybody made any progress on integrating Emil&#8217;s code with fckeditor? thx
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Daniel</title>
		<link>http://me.eae.net/archive/2005/06/12/rich-text-spell-checker/#comment-10264</link>
		<pubDate>Sun, 15 Oct 2006 19:02:20 +0000</pubDate>
		<guid>http://me.eae.net/archive/2005/06/12/rich-text-spell-checker/#comment-10264</guid>
					<description>Great Work. I was looking for this long time ago.
Thank</description>
		<content:encoded><![CDATA[<p>Great Work. I was looking for this long time ago.<br />
Thank
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Scott</title>
		<link>http://me.eae.net/archive/2005/06/12/rich-text-spell-checker/#comment-4590</link>
		<pubDate>Sat, 19 Aug 2006 21:12:03 +0000</pubDate>
		<guid>http://me.eae.net/archive/2005/06/12/rich-text-spell-checker/#comment-4590</guid>
					<description>I tried to use your code locally but this error:
Error: uncaught exception: Permission denied to call method XMLHttpRequest.open

any suggestions?</description>
		<content:encoded><![CDATA[<p>I tried to use your code locally but this error:<br />
Error: uncaught exception: Permission denied to call method XMLHttpRequest.open</p>
<p>any suggestions?
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Bhargava</title>
		<link>http://me.eae.net/archive/2005/06/12/rich-text-spell-checker/#comment-3760</link>
		<pubDate>Fri, 04 Aug 2006 11:53:44 +0000</pubDate>
		<guid>http://me.eae.net/archive/2005/06/12/rich-text-spell-checker/#comment-3760</guid>
					<description>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</description>
		<content:encoded><![CDATA[<p>Hi Emil,</p>
<p>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&#8217;t create any problems.</p>
<p>Thanks in advance,<br />
Bhargava
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Bruce Ritchie</title>
		<link>http://me.eae.net/archive/2005/06/12/rich-text-spell-checker/#comment-1613</link>
		<pubDate>Tue, 30 May 2006 21:54:53 +0000</pubDate>
		<guid>http://me.eae.net/archive/2005/06/12/rich-text-spell-checker/#comment-1613</guid>
					<description>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</description>
		<content:encoded><![CDATA[<p>Emil,</p>
<p>Very useful script! I&#8217;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&#8217;s fine however I&#8217;m seeing having that is breaking all my surrounding div&#8217;s (I&#8217;m wrapping the textarea in a few div&#8217;s for styling and other reasons) such that all the div&#8217;s collapse overtop of the textarea.</p>
<p>Have you ever come across this, and if so, do you have any suggestions on how to overcome this issue?</p>
<p>Thanks in advance,</p>
<p>Bruce
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Dee</title>
		<link>http://me.eae.net/archive/2005/06/12/rich-text-spell-checker/#comment-972</link>
		<pubDate>Tue, 09 May 2006 17:43:23 +0000</pubDate>
		<guid>http://me.eae.net/archive/2005/06/12/rich-text-spell-checker/#comment-972</guid>
					<description>Hi,

I wanted to confirm if I can integrate your spell checked component within my richtext editor in ASP pages?

Thank you.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I wanted to confirm if I can integrate your spell checked component within my richtext editor in ASP pages?</p>
<p>Thank you.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: rt</title>
		<link>http://me.eae.net/archive/2005/06/12/rich-text-spell-checker/#comment-860</link>
		<pubDate>Fri, 28 Apr 2006 09:37:39 +0000</pubDate>
		<guid>http://me.eae.net/archive/2005/06/12/rich-text-spell-checker/#comment-860</guid>
					<description>Emit thanks for the quick response. We have domino installed and I guess it should be helpful to accomplish this task ? Please let me know and as I do not have experience on CGI based applications needs to know where all modifications needs to go for the API changes to be reflected.

Thanks in advance</description>
		<content:encoded><![CDATA[<p>Emit thanks for the quick response. We have domino installed and I guess it should be helpful to accomplish this task ? Please let me know and as I do not have experience on CGI based applications needs to know where all modifications needs to go for the API changes to be reflected.</p>
<p>Thanks in advance
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Emil</title>
		<link>http://me.eae.net/archive/2005/06/12/rich-text-spell-checker/#comment-834</link>
		<pubDate>Fri, 28 Apr 2006 01:15:03 +0000</pubDate>
		<guid>http://me.eae.net/archive/2005/06/12/rich-text-spell-checker/#comment-834</guid>
					<description>rt: MS Office has nothing to do with it, all that is required on the server side is aspell, or any other spell checker library with an exposed API. The C++ example works very well on windows.</description>
		<content:encoded><![CDATA[<p>rt: MS Office has nothing to do with it, all that is required on the server side is aspell, or any other spell checker library with an exposed API. The C++ example works very well on windows.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
