Spellchecking in FCKeditor was no solution to me.
I wanted to have spellchecking in Dutch, but this ieSpell-
thing only works with English (or I'm to stupid to
understand how it works :-) ) and also Aspell is not
installed on the server I use.
So, i made my own plugin, which makes use of the
spellchecker in Microsoft Word.
It uses ActiveX, so it only can be used in Internet
Explorer and of course Microsoft Word has to be
installed on the client-computer.
Although this plugin isn't crossbrowser-compatible it can
be of use in some situations. I use it myself in a CMS
which I add to the list of 'trusted websites'. For trusted
websites i enable ActiveX.
Included in the attached zip-file is a readme-file.
Logged In: YES
user_id=915246
thanks for a very cool plugin that seems to work on word
2003 and IE 6+
Im sure my spelling will be better now :D
And I can have danish spellcheck very cool!!
Logged In: YES
user_id=915246
It works pretty well, but a minor thing: when you spellcheck
the text is cleaned for styles, fonts types etc - so it is
converted to plain-text. That is not very handy...
Logged In: YES
user_id=952521
Thanx for testing.
The problem was caused, because i used
FCK.EditorDocument.selection.createRange().text; to grab
the content of the editor window.
I changed it with FCK.EditorDocument.execCommand('copy');
I works almost perfect now i think; there's only an empty
paragraph at the beginning of the document. I consider that a
minor problem.
I've attached a new zip-file.
SpellWord
Logged In: YES
user_id=915246
It still remove all styles...
When I spellcheck this:
<strong>Hejsa</strong>, <font color="#99cc00">det</font>
<u>går fint</u> også her i byen...
It is converted to this after the spellcheck is done:
<div>Hejsa, det går fint også</div>
No more styles and then a div?
Logged In: YES
user_id=952521
Euhm ... it's working here, although the font colar is stripped
out, which is caused by the original CleanWord()-function
Logged In: YES
user_id=915246
I dont know what I did wrong earlier - but know it works...
You have made another great plugin I can also recommand
openWord
cleanWord
Hint:
To uncheck bIgnoreFont, and bRemoveStyles
I used:
function CleanWord( html )
{
var bIgnoreFont = '' ;
var bRemoveStyles = '';
Instead of;
function CleanWord( html )
{
var bIgnoreFont = 'checked' ;
var bRemoveStyles = 'checked';
Logged In: YES
user_id=1429471
Great! I've sought it for long time!
Another attempt to use Word spelling can be find here:
http://66.249.93.104/search?q=cache:ID00Ynb7ehkJ:sample.innosoft.biz/%EC%A0%84%EC%97%AC%EC%83%81/%EC%86%8C%EC%8A%A4%EC%A0%95%EB%A6%AC/%ED%94%84%EB%A1%9C%EA%B7%B8%EB%9E%A8%2520%EC%86%8C%EC%8A%A4/editor/js/fck_actions.js.bak+ActiveXObject\(%22Word.Application%22
It's JFY. He uses another copy-paste model.
Bugs:
1) readme.txt: "... copy the folder 'OpenWord' ..." should be replaced to "
2) fckplugin.js line 52, I would add Word = null; and then at line 62 add if (Word != null) Word.Quit();
3) We can automaticaly set spell language:
wdEnglishUK = 2057;
wdEnglishUS = 1033;
wdFrench = 1036;
wdGerman = 1031;
wdPortuguese = 2070;
wdSpanish = 1034;
wdItalian = 1040;
wdKorean = 1042;
wdJapanese = 1041;
wdChineseHongKongSAR = 3076;
Word.Selection.LanguageID = wdEnglishUK;
Logged In: YES
user_id=1355839
A couple of things
1) Any idea on how to use this fck_actions.js file addresed
by kos32 that has been google cached? What file does this
one replace? how do i hook it up to the current spell
checker exactly? I wouldnt mind comparing it to SpellWord
2) I've been using the current SpellWord and have noticed
that if the selection is too big, Word says "You placed a
large amount of text on the Clipboard. Do you want this text
to be available to other applications after you quit Word".
Any idea how to stop this from happening?
Logged In: YES
user_id=1429471
Enjoy http://kos.at.tut.by/SpellWord_kos32.zip
:)
Logged In: YES
user_id=1493009
I have been trying this plugin as an alternative to the
native FCKeditor solution. However I have identified a small
bug. If the user opens to spell checker but then clicks the
cancel button in the spell checker window... the content of
the FCKeditor window is deleted. This can be recovered usign
the undo button but this is a little counter intuative...
I have hacked together a simple solution but someone else
may have a better solution.
You need to amend the following lines...
FCK.Focus();
FCKUndo.SaveUndoStep();
if( text.length > 1 ){
FCK.EditorDocument.body.innerHTML = _Word_FitIn(
FCK.EditorDocument.body.innerHTML, text);
} else {
FCK.EditorDocument.body.innerHTML =
FCK.EditorDocument.body.innerHTML;
}