id에 해당하는 문단으로 캐럿을 이동 시킵니다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:
Code Block | ||||
---|---|---|---|---|
| ||||
editor.execCommand('setCaretById', 'paragraph_id', 0); |
...