캐럿이 위치한 곳에 텍스트를 삽입합니다.
...
Insert texts at the caret position.
When there is a selection, the selected block is deleted and the text is inserted.
Parameters:
| Name | Type | Description |
|---|---|---|
| actionName | String액션 이름 | 'insertText' text inserting API |
| text | String삽입할 텍스트 | Text to insert |
Example:
| Code Block | ||||
|---|---|---|---|---|
| ||||
editor.execCommand('insertText', 'text'); |
...