Replaces the selected text.
Parameters:
Name | Type | Description |
---|---|---|
actionName | String | 'repalceText' text replacing API |
text | String | Text to replace |
Example:
editor.execCommand('replaceText', 'text');
Replaces the selected text.
Parameters:
Name | Type | Description |
---|---|---|
actionName | String | 'repalceText' text replacing API |
text | String | Text to replace |
Example:
editor.execCommand('replaceText', 'text');