id에 해당하는 문단으로 캐럿을 이동 시킵니다.
Parameters:
| Name | Type | Description |
|---|---|---|
| actionName | String | 액션 이름 |
| id | String | paragraph id |
| offset | Number | paragraph offset |
Example:
editor.execCommand('setCaretById', 'paragraph_id', 0);
id에 해당하는 문단으로 캐럿을 이동 시킵니다.
Parameters:
| Name | Type | Description |
|---|---|---|
| actionName | String | 액션 이름 |
| id | String | paragraph id |
| offset | Number | paragraph offset |
Example:
editor.execCommand('setCaretById', 'paragraph_id', 0);