DS Server

SpellCheckTextEventArgs Object

Object|Introduced in 28.0

Description

The event argument for a spell check related event.

Syntax

{
   text: <string>,
   misspelledWords: <MisspelledWordInfo[]>
}

Examples

The following example demonstrates SpellCheckTextEventArgs in a practical document-editing workflow. The event argument for a spell check related event.

function handleSpellCheckText(args) {
    console.log("text:", args.text);
    console.log("misspelled words:", args.misspelledWords);
}

Members

Properties

PropertyDescription
misspelledWordsAn array of misspelled words.
textThe text to check.