API to insert text by designating DOM selector to edit.
| Name | Type | Description |
|---|---|---|
| selector | string | Selector to load DOM to edit |
| text | String | Text to insert |
window.editor.setText('#field', 'Filed Text');
window.editor.setText('#name', 'Name Text');
window.editor.setText('#birth', 'Birth day');
window.editor.setText('#address', 'Address');
window.editor.setText('#phone', 'Phone number');
window.editor.setText('#copyright', 'Copyright'); |