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
에디터의 문서모델(DOM)에 직접 접근하여 정보를 관리 할 수 있는 기능을 제공합니다.
지원분야 | |
---|---|
성명 | |
생년월일 | |
현주소 | |
연락처 | |
Copyright | |
지원분야 | |
---|---|
성명 | |
생년월일 | |
현주소 | |
연락처 | |
Copyright |