You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 2
Next »
릴리즈 2.3.0 이상
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)에 직접 접근하여 정보를 관리 할 수 있는 기능을 제공합니다.