You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 16/umbraco-cms/customizing/extending-overview/extension-types/block-custom-view.md
+15-4Lines changed: 15 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,11 +8,17 @@ The Block Custom View extension type lets you define a Web Component for represe
8
8
9
9
## Build a Custom View
10
10
11
+
{% hint style="info" %}
12
+
Before creating a Block Custom View, make sure you are familiar with the [Extension Registry in Umbraco](../../../customizing/extending-overview/extension-registry/register-extensions.md).
13
+
You can also refer to the tutorial [Custom Views for Block List](../../../tutorials/creating-custom-views-for-blocklist.md) for a step-by-step guide.
14
+
{% endhint %}
15
+
11
16
1. Make a Document Type with a Property using a Block Editor of choice.
12
17
2. Configure at least one Block Type on the Block Editor.
13
18
3. Ensure the Element Type of the Blocks Content Model has a property using `headline` as the Property Alias.
14
19
4. Take note of the Element Type Alias as you will use that in the next step.
15
-
5. Add the following code to the `umbraco-package.json` file:
20
+
5. Create a Settings Model for the above Element Type and add a property with alias `theme`.
21
+
6. Add the following code to the `umbraco-package.json` file:
16
22
17
23
{% code title="umbraco-package.json" %}
18
24
```json
@@ -25,11 +31,12 @@ The Block Custom View extension type lets you define a Web Component for represe
Copy file name to clipboardExpand all lines: 17/umbraco-cms/customizing/extending-overview/extension-types/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ The `backofficeEntryPoint` extension type is used to execute JavaScript upon ini
23
23
24
24
### [Block Custom View](block-custom-view.md)
25
25
26
-
The `blockEditorCustomView` extension type is used to define a custom web component for representing blocks inside the Umbraco block grid property editor.
26
+
The `blockEditorCustomView` extension type is used to define a custom web component for representing blocks inside the Umbraco block property editor.
0 commit comments