Custom Field Editor Invocation

To use a custom field editor for a particular field, you need to add a ui:editor to the field's definition in the content-type resource. The ui:editor element has two attributes:

type

This must always be set to web-component.

name

This must be set to the name of the component as defined in the field editor configuration file.

To use the slider field editor defined in Custom Field Editor Invocation, for example, you would need to add the following ui-editor element to your field definition:

<field type="number" name="percentage">
  <ui:label>Percentage</ui:label>
  <ui:editor type="web-component" name="custom-slider"/>
</field>