Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

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

NameType
Description
datasArray

[ Object]

  • {
    selector: String,
    text: String
    }
Selector to load DOM to edit and text


Example:

window.editor.setTextBySelectors([{'#field', 'Filed Text'}, {'#name', 'Name Text'}, {'#birth', 'Birth day'}]);



Experiencing

에디터의 문서모델(DOM)에 직접 접근하여 정보를 관리 할 수 있는 기능을 제공합니다.


지원분야
성명
생년월일
현주소
연락처
Copyright
지원분야
성명
생년월일
현주소
연락처
Copyright



  • No labels