Move the caret to the desired coordinate.
Parameters:
Name | Type | Description |
---|---|---|
actionName | String | 'setCaret' move the caret to the desired coordinate API |
x | Number | x coordinate |
y | Number | y coordinate |
Example:
editor.execCommand('setCaret', 100, 100);
Move the caret to the desired coordinate.
Parameters:
Name | Type | Description |
---|---|---|
actionName | String | 'setCaret' move the caret to the desired coordinate API |
x | Number | x coordinate |
y | Number | y coordinate |
Example:
editor.execCommand('setCaret', 100, 100);