RELEASE 2.3.0 OR ABOVE
public getTextBySelectors(selectors: Array)
API to designate DOM selectors to edit and extract the corresponding text at once.
- Extractable DOM: <div>, <td>, <p>, <span>
Params: selector, text
Name | Type | Description | |
---|---|---|---|
selectors | Array | [ String ]
| Selector to get DOM to edit |
Return: text
Name | Type | Description |
---|---|---|
texts | Array | Text Array to extracted from DOM |
Example:
texts = editor.getTextBySelectors(selectors);
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 |