Skip to content

Commit 6f246c4

Browse files
authored
Merge pull request #6442 from Rockerby/patch-5
Correct schema name in PropertyEditor example
2 parents e9f0c22 + 5ced621 commit 6f246c4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

14/umbraco-cms/customizing/property-editors/composition/property-editor-ui.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,18 @@ The Property Editor UI is a pure front-end extension. This determines how the da
2323
"elementName": "my-text-box",
2424
"meta": {
2525
"label": "My Text Box",
26-
"propertyEditorSchema": "Umbraco.TextBox",
26+
"propertyEditorSchemaAlias": "Umbraco.TextBox",
2727
"icon": "icon-autofill",
2828
"group": "common"
2929
}
3030
}
3131
```
3232

33-
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.
33+
The Property Editor UI cannot be used for Content Types if no Property Editor Schema is specified in the manifest. 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.
3434

3535
### Settings
3636

37-
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:
37+
The Property Editor UI settings are used for configuration related to rendering the UI in the backoffice. This is the same for Property Editor Schemas:
3838

3939
{% hint style="info" %}
4040
The Property Editor UI inherits the Settings of its Property Editor Schema.
@@ -73,14 +73,14 @@ The Property Editor UI inherits the Settings of its Property Editor Schema.
7373

7474
Inherit the interface, to secure your Element live up to the requirements of this.
7575

76-
```ts
76+
```typescript
7777
// TODO: get interface
7878
interface UmbPropertyEditorUIElement {}
7979
```
8080

8181
**Example with LitElement**
8282

83-
```ts
83+
```typescript
8484
import { LitElement, html, css, customElement, property } from '@umbraco-cms/backoffice/external/lit';
8585
import { UmbElementMixin } from '@umbraco-cms/backoffice/element-api';
8686
import { UmbPropertyValueChangeEvent } from '@umbraco-cms/backoffice/property-editor';

0 commit comments

Comments
 (0)