캐럿이 위치한 곳에 북마크를 삽입합니다Insert a bookmark at the caret position.
Parameters:
Name | Type | Description |
---|---|---|
actionName | String액션 이름 | 'insertBookmark' bookmark inserting API |
id | String삽입할 북마크 id | ID of the bookmark to insert |
Example:
Code Block | ||||
---|---|---|---|---|
| ||||
editor.execCommand('insertBookmark', 'id'); |
...