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

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

NameType
Description
selectorsArray

[ String ]

  • text: String
Selector to get DOM to edit


Return: text

NameTypeDescription
textsArrayText Array to extracted from DOM


Example:

texts = editor.getTextBySelectors(selectors);



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