Page tree
Skip to end of metadata
Go to start of metadata

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);
  • No labels