Move the caret to the desired coordinate.


Parameters:

NameTypeDescription
actionNameString'setCaret' move the caret to the desired coordinate API
xNumberx coordinate
yNumbery coordinate


Example:

editor.execCommand('setCaret', 100, 100);