Documentation Center

Editor.SpellChecking.getPersonalWords

This method reads the list of allowed words set for the current user.

Description

Users of the editor can add words to their personal dictionary, which is stored in the browsers' local storage. This list is preserved over multiple sessions. Using the getPersonalWords, this list can be read by the API.

Syntax

Editor.SpellChecking.getPersonalWords(langCode:String)

Arguments

langCode
String. The code for the language.

Return Value

Array. The list of additional allowed words for the current user.

Example

Editor.SpellChecking.getPersonalWords('en-US');