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: blazor/blockeditor/built-in-blocks/embed.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,9 +21,9 @@ You can render an `Image` block by setting the `BlockType` property to `Image` i
21
21
22
22
#### Global Image Settings
23
23
24
-
You can configure global settings for image blocks using the `ImageBlockSettings` property in the Block Editor root configuration. This ensures consistent behavior for all images in the editor.
24
+
You can configure global settings for image blocks using the `BlockEditorImageBlock` tag directive. This ensures consistent behavior for all images in the editor.
25
25
26
-
The `ImageBlockSettings` property supports the following options:
26
+
The `BlockEditorImageBlock` tag directive supports the following options:
| TriggerChar | Specifies the character that opens the label suggestions popup. |
86
+
| Items | Specifies the label items. |
93
87
94
-
### Trigger Character configuration
88
+
####Trigger Character configuration
95
89
96
90
Use the `TriggerChar` property to define the character that opens the label suggestions popup. The default trigger character is `$`.
97
91
98
-
### Label items configuration
92
+
####Label items configuration
99
93
100
-
Define the available labels using the `Items`array. When a user types the trigger character, a popup will show matching items.
94
+
Define the available labels using the `Items`property present in the `BlockEditorLabel` tag directive. When a user types the trigger character, a popup will show matching items.
101
95
102
96
Each item supports the following properties:
103
97
@@ -112,7 +106,24 @@ Each item supports the following properties:
112
106
113
107
When users type the trigger character, a popup will appear showing matching label items from which they can select. The selected label will be inserted into the content as a Label content item.
114
108
115
-
### Using labels with group headers
109
+
#### Customize label
110
+
111
+
You can customize the labels by using the `Properties` property along with `ContentType` as `Label`.
0 commit comments