Index: doc/API_web.md ================================================================== --- doc/API_web.md +++ doc/API_web.md @@ -117,20 +117,21 @@ For the last event, `oResult` will be `null`. ### Parse text and get errors - oGrammalecteAPI.parseText(text, "node_id") - oGrammalecteAPI.parseText(text, node) + oGrammalecteAPI.parseText("your text", "node_id") + oGrammalecteAPI.parseText("your text", node) The node must have an identifier. Like with `oGrammalecteAPI.parseNode()`, results (for each paragraph) will be sent in a succession of events at the node. ### Get spelling suggestions + oGrammalecteAPI.getSpellingSuggestions(word, destination) oGrammalecteAPI.getSpellingSuggestions(word, destination, request_identifier) Parameters: - word (string)