This demo allows you to explore the API for both classes in a visual context, and generates valid source code for you to use in your own applications.
The PHP Spell Check API
PHP Spell Check > Documentation > PHP Object Reference
The PHP Spell CHeck API consists of 2 main classes:
- Class SpellCheckButton renders a button allowing you to spell-check on demand. This normally occurs in a pop-up dialog - similar to that in MS Word. This experience is familiar, un-intrusive and popular in Intranet and CMS applications.
- Class SpellAsYouType renders inline spellchecking with "red wiggly underlines" - again consistent with MS Word. Right clicking on a spelling mistake allows it to be corrected in a familiar context menu. This functionality is programmer controllable and worlds across all major web browses (and many minor ones)
These classes may be used together - or on their own.
Spell-checking can occur for:
- Text Areas
- Input fields
- Any HTML Element
- Over 200 Rich HTML (WYSIWYG Editors) including all major editors:
- CKEditor, Tiny MCE, FCK Editor, Cute Editor, HTMLArea, ASP.Net AJAX Editor, Innova Edit, Yusasp, RAD Editor, Custom Editors (automatically detected)
In addition we have a non visual spellchecker API: