Class TinyMceSpellChecker

java.lang.Object
com.jalios.jcms.wysiwyg.TinyMceSpellChecker

public class TinyMceSpellChecker extends Object
Provides spellchecker for TinyMCE editor, through JSON-RPC.
Since:
jcms-10.0.0
  • Constructor Details

    • TinyMceSpellChecker

      public TinyMceSpellChecker()
  • Method Details

    • spellcheck

      public static Map<String,String[]> spellcheck(String lang, String[] words)
      Check an array of words and returns the badly spelled words with suggestions.
      Parameters:
      lang - the language of the words to check
      words - the words to check
      Returns:
      a map of errors and their suggestions