Move the caret to the start of the document.


Parameters:

NameTypeDescription
actionNameString'documentStart' move the caret to the start of the document API


Example:

editor.execCommand('documentStart');