Keyoti

Knowledge Base


Keyoti KB Knowledgebase Home Page  >  RapidSpell Web Java

Search the Knowledge Base Browse by Category
How can I use RapidSpell Web with FCKEditor?
http://keyoti.com/kb/Default.aspx?ToDo=view&questId=122&catId=45

Options

Print this page
Email this to a friend
Post a comment
RapidSpell Web Java can add spell checking to just about all editors - the only task is to properly write the RSCustomInterface object needed to interface with the editor.
 
 
 
1. In RapidSpellWebLauncher set the properties;
 
-textComponentInterface to "Custom"
 
-textComponentName to the ID of the editor control.
 
-ignoreXML to "true"
 
-rapidSpellWebPage as usual to the URL of the page holding RapidSpellWeb
 
 
2. Add this Javascript block to the page using the editor
 
<script type='text/javascript'>
function RSCustomInterface(tbElementName){
 this.tbName = tbElementName;this.getText = getText;this.setText = setText;
 function getText(){
  return FCKeditorAPI.GetInstance( this.tbName ).GetHTML();
 }
 function setText(text){
       FCKeditorAPI.GetInstance( this.tbName ).SetHTML(text);
   }
}
</script>
 
 
If you have trouble, please email support@keyoti.com

Visitor Comments:

  • Comment #1  (Posted by Julian )

    With regards .NET Usage, I had problems using the IFrame ID of the FCKeditor due to Naming Container hierarchy. I had great success using the FCKeditorAPI.GetInstance().GetHTML() and .SetHTML() methods - the Spell-checked worked-a-treat.
     
Post your comments.
 
Related Questions:

Attachments:

No attachments were found.



About | Contact | Site Map | Privacy Policy

Copyright © 2002- Keyoti Inc.