Move the caret to the start of the previous word.


Parameters:

NameTypeDescription
actionNameString'previousWord' move the caret to the start of the previous word API


Example:

editor.execCommand('previousWord');