ASP Spell Check Demos - Spellcheck any Rich HTML Editor

By settings fields to "editors" ASPSpellCheck automatically targets all rich editors on the page.

Source Code
<!--#include virtual="/ASPSpellCheck/"-->
<textarea name="MyEditor" id="MyEditor">
Any TextArea Which is overwritten by a Rich Editor 
Such as CKEditor, FCK or Tiny MCE Editor.
	dim myLink
	set myLink = new AspSpellLink
	response.write myLink.imageButtonHTML("","","") ''Adds a button
	set myLink=nothing
  • When fields is "editors" - ASPSpellCheck will automatically spellcheck rich HTML areas. ASPSpellCheck is aware of almost all available rich editors - and recognizes them automatically.
  • SpellAsYouType is not available - as it would risk leaving unwanted markup in your editor.
To Spell-Check a Single Rich Editor:

To spellcheck just 1 rich editor - you cannot set field to Id of the textarea it replaces, because most editors are unaware of changes to the fields that they override.

  1. Put a span around the textarea.
  2. Set fields to the id of that span

Alternatively, you can pass the id of the iFrame created by the editor into fields. The tool FireBug can help you find the id.