RELEASE 2.3.0 OR ABOVE
public setTextBySelectors(datas: Array)
API to insert text at once by designating DOM selectors to edit.
- Insertable DOM: <div>, <td>, <p>
Params: selector, text
| Name | Type | Description | |
|---|---|---|---|
| datas | Array | [ Object]
| Selector to load DOM to edit and text |
Example:
window.editor.setTextBySelectors([{'#field', 'Filed Text'}, {'#name', 'Name Text'}, {'#birth', 'Birth day'}]);
Experiencing
The feature to directly access document model (DOM) of the Editor and manage the information is provided.
| Applying Position | |
|---|---|
| Name | |
| Date of Birth | |
| Current Address | |
| Contact | |
| Copyright | |
| Applying Position | |
|---|---|
| Name | |
| Date of Birth | |
| Current Address | |
| Contact | |
| Copyright | |