Making Content Editable
One of the things that makes PageBuilder feel so magical is the intuitive way it allows editors to edit text and link content directly on the page.
It's also magical for a developer -- making a feature use PageBuilder's content editable attributes is as simple as adding these attributes to a piece of HTML:
data-pb-field="custom.[Field name]" data-pb-placeholder="Default Title" data-pb-field-type="text"
Example:
This code would render a div for a label with content editable text that is tied to a custom field called "labelText".
${custom.labelText}
There's loads more information at this link:
https://arcpublishing.atlassian.net/wiki/display/PD/Content+Editable+with+Backing+Content