Skip to content

Keffisor/jQuery-SpellChecker-LT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Commit Activity

jQuery-SpellChecker-LT

jQuery-SpellChecker-LT - Add a SpellChecker integration to any editor using LanguageTool's API.

Demo

You can try in the live demo at https://keffisor21.com/github/jquery-spellchecker-lt/.

Usage

You can just init the spellchecker with the default configuration using jQuery.

$('#documentEditor').spellchecker();

Custom Options

You can provide custom options to the spellchecker.

$('#documentEditor').spellchecker({
  endpoint_url: "https://api.languagetool.org/v2/check",
  request_cooldown: 6.2
});

Options available:

  • endpoint_url: The URL where will connect to retrieve the spell check. This is ideal for set a custom languagetool server endpoint.
  • request_cooldown: Change the wait time when the user start's typing to connect into the endpoint.