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