Package com.jalios.jcms.wysiwyg
Class TinyMceSpellChecker
- java.lang.Object
-
- com.jalios.jcms.wysiwyg.TinyMceSpellChecker
-
public class TinyMceSpellChecker extends java.lang.Object
Provides spellchecker for TinyMCE editor, through JSON-RPC.- Since:
- jcms-10.0.0
-
-
Constructor Summary
Constructors Constructor Description TinyMceSpellChecker()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Map<java.lang.String,java.lang.String[]>
spellcheck(java.lang.String lang, java.lang.String[] words)
Check an array of words and returns the badly spelled words with suggestions.
-
-
-
Method Detail
-
spellcheck
public static java.util.Map<java.lang.String,java.lang.String[]> spellcheck(java.lang.String lang, java.lang.String[] words)
Check an array of words and returns the badly spelled words with suggestions.- Parameters:
lang
- the language of the words to checkwords
- the words to check- Returns:
- a map of errors and their suggestions
-
-