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

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

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






  • No labels