Presenting the Editing Experience of a Property Editor
This page is a work in progress. It will be updated as the software evolves.
The Property Editor UI is the UI that is used to edit the data in the backoffice.
The Property Editor UI is a pure front-end extension. This determines how the data of a Property Editor is presented and manipulated. The Extension points to a Web Component.
Property Editor UI
{"type":"propertyEditorUi","alias":"Umb.PropertyEditorUi.TextBox","name":"Text Box Property Editor UI","elementName":"my-text-box","js":"/App_Plugins/my-text-box/dist/my-text-box.js","meta": {"label":"My Text Box","propertyEditorSchema":"Umbraco.TextBox","icon":"icon-autofill","group":"common" }}
If no Property Editor Schema is specified in the manifest, the Property Editor UI cannot be used for Content Types. However, it can still be utilized to manipulate JSON. A case of that could be a Settings property for another Property Editor UI or Schema.
Settings
The Property Editor UI settings are used for configuration that is related to rendering the UI in the backoffice. This is the same for Property Editor Schemas:
The Property Editor UI inherits the Settings of its Property Editor Schema.
Manifest
{"type":"propertyEditorUi","alias":"My.PropertyEditorUI.TextArea",//... more"meta": {//... more"settings": {"properties": [ {"alias":"rows","label":"Number of rows","description":"If empty - 10 rows would be set as the default value","propertyEditorUi":"Umb.PropertyEditorUi.Number", }, ],"defaultData": [ {"alias":"rows","value":10, }, ], }, },};
The Property Editor UI Element
Inherit the interface, to secure your Element live up to the requirements of this.
// TODO: get interfaceinterfaceUmbPropertyEditorUIElement {}