Move the caret to the paragraph that corresponds to ID.
Parameters:
| Name | Type | Description |
|---|---|---|
| actionName | String | 'setCaretById' move the caret to the paragraph that corresponds to ID API |
| id | String | paragraph id |
| offset | Number | paragraph offset |
Example:
editor.execCommand('setCaretById', 'paragraph_id', 0);