Skip to content

Commit b158509

Browse files
Merge branch 'development' into BLAZ-983104-Rangeslider
2 parents 8c94550 + 298f80f commit b158509

File tree

78 files changed

+951
-813
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+951
-813
lines changed
49.1 KB
Loading

blazor/rich-text-editor/tools/styling-tools.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,43 @@ This feature allows users to change the appearance of the numbered and bulleted
459459

460460
<!-- {% previewsample "https://blazorplayground.syncfusion.com/embed/hZrgDQihUWLCLrIB?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} -->
461461

462+
### Checklist
463+
464+
The `Checklist` feature lets you create interactive task lists with clickable checkboxes. You can configure checkbox behavior, customize the visual appearance, manage item states, and enable keyboard interactions. This makes it perfect for project management, note-taking, and task tracking within your content. You can easily toggle between checked and unchecked states, giving you an intuitive way to manage the completion status of your list items—making it a simple and effective to-do list solution.
465+
466+
#### Inserting a checklist
467+
You can embed interactive task lists directly within the Rich Text Editor. Here’s how you can insert a checklist:
468+
- **Using the toolbar**: Click the checklist button in the editor toolbar, usually represented by a checkbox icon.
469+
- **Using the shortcut**: Press `Ctrl+Shift+9` (or `Cmd+Shift+9` on macOS) to insert a checklist at your cursor’s position.
470+
- **Converting existing lists**: Select an existing bullet or numbered list and click the checklist button to convert it into an interactive checklist.
471+
- **Toggling checklist items**: You can toggle the state of checklist items between checked and unchecked by clicking the checkbox. If you prefer using the keyboard, press `Ctrl+Enter` (or `Cmd+Enter` on macOS) to toggle the check marks based on your selection or cursor position in the editor.
472+
473+
#### Configuring checklist
474+
To enable the checklist feature in your editor, add the `Checklist` toolbar item to the [RichTextEditorToolbarSettings.Items](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.RichTextEditor.RichTextEditorToolbarSettings.Items) property. This feature supports customizable behavior and can be easily integrated into your Rich Text Editor toolbar for quick access.
475+
476+
Here’s an example of how you can configure the checklist in your Rich Text Editor:
477+
478+
{% tabs %}
479+
{% highlight razor %}
480+
481+
@using Syncfusion.Blazor.RichTextEditor
482+
483+
<SfRichTextEditor>
484+
<RichTextEditorToolbarSettings Items="@Items" />
485+
<p>The Rich Text Editor component is the WYSIWYG ('what you see is what you get') editor that provides the best user experience to create and update content. Users can format their content using standard toolbar commands.</p>
486+
</SfRichTextEditor>
487+
@code {
488+
private List<ToolbarItemModel> Items = new List<ToolbarItemModel>()
489+
{
490+
new ToolbarItemModel() { Command = ToolbarCommand.Checklist }
491+
};
492+
}
493+
494+
{% endhighlight %}
495+
{% endtabs %}
496+
497+
![Blazor RichTextEditor Checklist](../images/checklist.png)
498+
462499
## Formatting code blocks
463500

464501
Configure code block formatting as a separate toolbar button by adding the `InsertCode` Command within the [RichTextEditorToolbarSettings.Items](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.RichTextEditor.RichTextEditorToolbarSettings.html#Syncfusion_Blazor_RichTextEditor_RichTextEditorToolbarSettings_Items) property. The `InsertCode` button has a toggle state to apply code block formatting to the editor and remove code block formatting from the editor.

blazor/scheduler/dimensions.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ documentation: ug
99

1010
# Scheduler Dimensions in Blazor Scheduler Component
1111

12-
The Scheduler dimensions refers to both height and width of the entire layout and it accepts 3 types of values.
12+
The dimensions of the Syncfusion Blazor Scheduler component, encompassing both height and width of its entire layout, can be defined using three types of values:
1313

1414
* auto
1515
* pixel
1616
* percentage
1717

1818
## Auto Height and Width
1919

20-
When height and width of the Scheduler are set to `auto`, it will try hard to keep an element the same width as its parent container. In other words, for the parent container that holds Scheduler, it's width or height will be the sum of its children. By default, Scheduler is assigned with `auto` values for both height and width properties.
20+
When the height and width of the Scheduler are set to `auto`, the component attempts to match the width of its parent container. In this configuration, the parent container's width or height will be the cumulative size of its children. By default, the Scheduler component is assigned `auto` values for both its `Height` and `Width` properties.
2121

2222
```cshtml
2323
@using Syncfusion.Blazor.Schedule
@@ -47,10 +47,11 @@ When height and width of the Scheduler are set to `auto`, it will try hard to ke
4747
}
4848
}
4949
```
50+
{% previewsample "https://blazorplayground.syncfusion.com/embed/BNBesjtcsURMTcIB?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %}
5051

51-
## Height and Width in pixel
52+
## Height and Width in Pixel
5253

53-
The Scheduler height and width will be rendered exactly as per the given pixel values. It accepts both string and number values.
54+
The Scheduler's height and width render precisely according to the specified pixel values. Both string and number values are accepted for these properties.
5455

5556
```cshtml
5657
@using Syncfusion.Blazor.Schedule
@@ -80,10 +81,13 @@ The Scheduler height and width will be rendered exactly as per the given pixel v
8081
}
8182
}
8283
```
84+
{% previewsample "https://blazorplayground.syncfusion.com/embed/rZByiNjQWKmhecik?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %}
8385

84-
## Height and Width in percentage
86+
![Height and width in pixel in Blazor Scheduler](images/height-width-inpixel.png)
8587

86-
When height and width of the Scheduler are given as percentage, it will make the Scheduler as wide as the parent container.
88+
## Height and Width in Percentage
89+
90+
When the height and width of the Scheduler are provided as percentage values, the component will expand to occupy the specified percentage of its parent container's dimensions.
8791

8892
```cshtml
8993
@using Syncfusion.Blazor.Schedule
@@ -113,10 +117,11 @@ When height and width of the Scheduler are given as percentage, it will make the
113117
}
114118
}
115119
```
120+
{% previewsample "https://blazorplayground.syncfusion.com/embed/BtLSstjwCqYbFnCD?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %}
116121

117-
## How to set the full height of the view port
122+
## How to set the full height of the viewport
118123

119-
When the height of the Scheduler is set in the CSS unit of Viewport Height(vh), it will make the Scheduler to occupy the full height within the viewport.
124+
Setting the Scheduler's height using the CSS unit of Viewport Height (vh) allows the component to occupy the full height within the viewport.
120125

121126
In the following example, the application header height (4.6rem) is reduced from the total viewport.
122127

@@ -148,5 +153,4 @@ In the following example, the application header height (4.6rem) is reduced from
148153
}
149154
}
150155
```
151-
152156
![Blazor Scheduler with View Port Height](images/blazor-scheduler-view-port-height.png)

0 commit comments

Comments
 (0)