Hello,
Can any pls help me to Integrate HTML Jspell with Ckeditor
I am using below code bt its not working
CKEDITOR.on("instanceReady", function(e) {
var frame = document.getElementById("cke_contents_" + e.editor.name).firstChild;
frame.id = e.editor.name + "jspell";
fieldsToCheck[fieldsToCheck.length] = [document, frame.id];
jspellInit();
jspellcheck();
});
function getSpellCheckArray() {
var fieldsToCheck=new Array();
fieldsToCheck[fieldsToCheck.length]='document.forms["myOtherForm"].editor';
return fieldsToCheck;
}
var language;
var guiLanguage;
var guiCountry;
function languageSelect() {
language=document.myOtherForm.language.options[document.myOtherForm.language.selectedIndex].text;
if(language=="English (CA)")
{
document.myForm.myField.value="Testing the canadian word list.";
document.myForm.myOtherField.value="Check this \251 'tekst' too!";
document.myOtherForm.myField.value="Heres the secondt form.";
guiLanguage="en";
guiCountry="CA";
} else
if(language=="English (US)")
{
document.myForm.myField.value="If JSpell is properly installed, then the word, 'jspel', will be corrected.";
document.myForm.myOtherField.value="Check this \251 'tetx' too!";
document.myOtherForm.myField.value="Heres the secont form.";
guiLanguage="en";
guiCountry="US";
} else
if(language=="English (GB)")
{
document.myForm.myField.value="If JSpell is properly installed, then the word, 'jspel', will be corrected.";
document.myForm.myOtherField.value="The balll is colored red, blue and green.";
document.myOtherForm.myField.value="This software is optimized.";
guiLanguage="en";
guiCountry="GB";
} else
if(language=="Français (FR)")
{
document.myForm.myField.value="On vie une suele fois.";
document.myForm.myOtherField.value="Qui n'entend qu'une cloch n'entend qu'un son.";
document.myOtherForm.myField.value="Il faut réfléchr avant d'agir.";
guiLanguage="fr";
guiCountry="FR";
} else
if(language=="Español (ES)")
{
document.myForm.myField.value="Mi nomber es miguel.";
document.myForm.myOtherField.value="Vamos en junio ¿verdad? Mi nombre es Miguel. Yo tengo una tia.";
document.myOtherForm.myField.value="Yo tengo una tia que toca la guitara.";
guiLanguage="es";
guiCountry="ES";
}
}
Thanks in advance.
Regards,
Tiwari
Still waiting for anyone to
Still waiting for anyone to reply on it.
Please help.
Regards
Tiwari