셀렉션된 텍스트를 text 로 교체합니다Replaces the selected text.
Parameters:
| Name | Type | Description |
|---|---|---|
| actionName | String액션 이름 | 'repalceText' text replacing API |
| text | String교체할 텍스트 | Text to replace |
Example:
| Code Block | ||||
|---|---|---|---|---|
| ||||
editor.execCommand('replaceText', 'text'); |
...
셀렉션된 텍스트를 text 로 교체합니다Replaces the selected text.
Parameters:
| Name | Type | Description |
|---|---|---|
| actionName | String액션 이름 | 'repalceText' text replacing API |
| text | String교체할 텍스트 | Text to replace |
Example:
| Code Block | ||||
|---|---|---|---|---|
| ||||
editor.execCommand('replaceText', 'text'); |
...