Skip to content

Commit ac93bef

Browse files
Merge branch 'development' into 999170-update
2 parents 41827e9 + e8faeeb commit ac93bef

File tree

2 files changed

+30
-19
lines changed

2 files changed

+30
-19
lines changed

blazor/blockeditor/built-in-blocks/embed.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ You can render an `Image` block by setting the `BlockType` property to `Image` i
2121

2222
#### Global Image Settings
2323

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.
2525

26-
The `ImageBlockSettings` property supports the following options:
26+
The `BlockEditorImageBlock` tag directive supports the following options:
2727

2828
| Property | Description | Default Value |
2929
|----------|-------------|---------------|

blazor/blockeditor/built-in-blocks/inline-content.md

Lines changed: 28 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -74,30 +74,24 @@ The Block Editor comes with different built-in label items. These includes:
7474
- **Progress**: In-progress, On-hold, Done
7575
- **Priority**: High, Medium, Low
7676

77-
### Customize label
77+
### Global label settings
7878

79-
You can customize the labels by using the `Properties` property along with `ContentType` as `Label`.
79+
You can configure global settings for all label inline contents using the `BlockEditorLabel` tag directive.
8080

81-
### ContentType and Properties
81+
The `BlockEditorLabel` tag directive supports the following options:
8282

83-
```cshtml
84-
// Adding inline label
85-
new BlockModel
86-
{
87-
BlockType = BlockType.Paragraph,
88-
Content = {new ContentModel{ContentType = ContentType.Label, Properties = new LabelContentSettings {
89-
LabelID = "progress"
90-
}}}
91-
}
92-
```
83+
| Property | Description |
84+
|----------|-------------|
85+
| TriggerChar | Specifies the character that opens the label suggestions popup. |
86+
| Items | Specifies the label items. |
9387

94-
### Trigger Character configuration
88+
#### Trigger Character configuration
9589

9690
Use the `TriggerChar` property to define the character that opens the label suggestions popup. The default trigger character is `$`.
9791

98-
### Label items configuration
92+
#### Label items configuration
9993

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.
10195

10296
Each item supports the following properties:
10397

@@ -112,7 +106,24 @@ Each item supports the following properties:
112106

113107
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.
114108

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`.
112+
113+
#### ContentType and Properties
114+
115+
```cshtml
116+
// Adding inline label
117+
new BlockModel
118+
{
119+
BlockType = BlockType.Paragraph,
120+
Content = {new ContentModel{ContentType = ContentType.Label, Properties = new LabelContentSettings {
121+
LabelID = "progress"
122+
}}}
123+
}
124+
```
125+
126+
#### Using labels with group headers
116127

117128
Labels with the same `GroupBy` value will be grouped together in the label selection popup:
118129

0 commit comments

Comments
 (0)