WYSIWYG Usage

Please see the full tutorial on Rich Editor Integration and try the FCKEditor Spellchecker Plug-in: http://www.aspspellcheck.com/demo-wysiwyg-html-editor-spellchecking.asp

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<%option explicit%>

<!--#include virtual="/ASPSpellCheck/ASPSpellInclude.inc"-->

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" http://www.w3.org/TR/html4/loose.dtd>
<html>
<head>
<title>ASPSpellCheck Sample</title>
</head>
<body>

  <textarea name="myWYSIWYG" cols="30" rows="10" id="myWYSIWYG" >
   Hello World. 
  </textarea>


<br>

  <% 
  dim myLink
  set myLink = new AspSpellLink
  myLink.fields="iframe:0"
  response.write myLink.imageButtonHTML ("","","")
  set myLink=nothing
  %>

</body>
</html>
 
 

Outcome:

rich html editor spell check

Spellchecking for the WYSIWYG HTML Editor

Notes:

There are HTML numerous WYSIWYG editors available on the internet.  A good resource to find one is http://www.htmlarea.com

For most WYSIWYG editors, you need to ASPSpellCheck the Iframe which the WYSIWYG uses.  The Fields property should be set to  iframe:myWYSIWYGFrameId .  

If you don't know the ID of your editor, Iframe:0 points to the first frame or Iframe in the DOM. iframe:1 points to the second etc...

Learn More about the ASPSpellLink.fields property.


FCK Editor:

myLink.fields="iframe:MyTextArea___Frame.0"

Where MyTextArea is the ID of the Textarea to be spellchecked.

There is now an FCKeditor Plugin for ASPSpellCheck: http://www.aspspellcheck.com/fck-editor-asp-spell-check-plugin.asp

YUSASP Editor (formerly  Innova) :

myLink.fields="iframe:idContentoEdit1"

Where oEdit1 is the JavaScript name for the editor.