Move the caret to the end of the document..
Parameters:
Name
Type
Description
actionName
String
'documentEnd' move the caret to the end of the document API
Example:
editor.execCommand('documentEnd');