릴리즈 2.3.0 이상
public setTextBySelectors(datas: Array)
편집할 DOM selector들을 지정하여 text를 한번에 삽입 할 수 있는 API입니다.
- 삽입 가능 DOM: <div>, <td>, <p>
Params: selector, text
| Name | Type | Description | |
|---|---|---|---|
| datas | Array | [ Object]
| 편집할 DOM을 가져올 selector와 text |
Example:
window.editor.setTextBySelectors([{'#field', 'Filed Text'}, {'#name', 'Name Text'}, {'#birth', 'Birth day'}]);
체험하기
에디터의 문서모델(DOM)에 직접 접근하여 정보를 관리 할 수 있는 기능을 제공합니다.
| 지원분야 | |
|---|---|
| 성명 | |
| 생년월일 | |
| 현주소 | |
| 연락처 | |
| Copyright | |
| 지원분야 | |
|---|---|
| 성명 | |
| 생년월일 | |
| 현주소 | |
| 연락처 | |
| Copyright | |