Changes the text of the specified misspelled word and marks it as ignored. Ignored misspelled words are not underlined with a red zigzag line.

Introduced: X18.

<void> MisspelledWordCollection.ignore(<MisspelledWord> misspelledWord, <String> changedText, <RequestBooleanCallback> callback, [<ErrorCallback> errorCallback])

Parameters

Parameter Description
misspelledWord Specifies the misspelled word to change.
changedText Specifies the changed text. The current text of the word is replaced with this text.
callback Receives whether the misspelled word could be changed.
errorCallback Optional. Is called when the operation failed with an error.