Skip to content

Commit 26d23c2

Browse files
authored
Merge pull request #6809 from syncfusion-content/983303-updatedtablen-d
983303: Updated style.md, table.md, toolbar.md, undo-redo-manager.md, webassembly-performance.md, xhtml-validation.md
2 parents 3c56a4a + 9335ddf commit 26d23c2

16 files changed

+222
-162
lines changed

blazor/rich-text-editor/style.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
layout: post
3-
title: Style and appearance in Blazor RichTextEditor Component | Syncfusion
4-
description: Checkout and learn here all about Style and appearance in Syncfusion Blazor RichTextEditor component and more.
3+
title: Style and appearance in Blazor Rich Text Editor Component | Syncfusion
4+
description: Checkout and learn here all about Style and appearance in Syncfusion Blazor Rich Text Editor component and more.
55
platform: Blazor
66
control: RichTextEditor
77
documentation: ug
88
---
99

10-
# Style and Appearance
10+
# Styling and Appearance
1111

1212
## Set placeholder
1313

@@ -43,7 +43,8 @@ Use the `e-rte-placeholder` class to define the custom font family, font color,
4343

4444
## Source code view
4545

46-
The Rich Text Editor enables you to directly edit HTML code through the `Source View` in the text area. Any changes you make in Source view are immediately reflected in the editor's content, giving you greater flexibility and control over your work.
46+
The Rich Text Editor allows users to directly edit HTML code using the `Source View` mode. Changes made in Source View are instantly reflected in the editor's content, providing enhanced flexibility and control over content formatting.
47+
4748
The source code is presented with enhanced formatting and consistent indentation for both block-level and inline HTML elements, resulting in a cleaner, more readable, and user-friendly editing experience.
4849

4950
>While the visual alignment of the source code is improved, the editor's underlying value remains unchanged.
@@ -60,7 +61,7 @@ The source code is presented with enhanced formatting and consistent indentation
6061

6162
## Customizing editor content
6263

63-
Use the following CSS to customize the default Rich Text Editor's content properties like font-family, font-size and color.
64+
Apply the following CSS to customize the default content styling of the Rich Text Editor like font-family, font-size and color.
6465

6566
```css
6667
/* To change font family and font size */
@@ -80,9 +81,9 @@ Use the following CSS to customize the default Rich Text Editor's content proper
8081

8182
![Blazor RichTextEditor with customizing editor content](./images/blazor-richtexteditor-editor-content.png)
8283

83-
## Customizing editor toolbar
84+
## Customize toolbar appearance
8485

85-
Use the following CSS to customize the default color of the Rich Text Editor's toolbar icon.
86+
Apply the following CSS to modify the default color of toolbar icons in the Rich Text Editor.
8687

8788
```css
8889
/* To change font color for toolbar icon */
@@ -112,7 +113,7 @@ Use the following CSS to customize the default color of the Rich Text Editor's t
112113
```
113114
![Blazor RichTextEditor with customizing editor toolbar](./images/blazor-richtexteditor-editor-toolbar.png)
114115

115-
### Refresh editor
116+
### Refreshing the editor UI
116117

117118
While rendering the Rich Text Editor inside the dialog component, the dialog container and its wrapper elements are styled with display: none, so the editor’s toolbar does not get the proper offset width and will render above the edit area container. To resolve this issue, call the `RefreshUI` method of the RichTextEditor in the dialog's opened event.
118119

@@ -130,7 +131,7 @@ While rendering the Rich Text Editor inside the dialog component, the dialog con
130131

131132
Programmatically highlight a portion of the text in the editor, like setting the background color of the text by applying background style to the particular text using the RichTextEditor [ExecuteCommand](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.RichTextEditor.ExecuteCommandOption.html) method and the `jsinterop` method.
132133

133-
Refer the jsintrob method in the `<head>` wwwroot/jsinterop.js of the file.
134+
Refer to the `jsinterop` method in the `<head>` wwwroot/jsinterop.js of the file.
134135

135136
{% tabs %}
136137
{% highlight razor tabtitle="~/_jsinterop.js" %}
@@ -147,7 +148,7 @@ window.RichTextEditor = {
147148
{% endhighlight %}
148149
{% endtabs %}
149150

150-
Refer script in the `<head>` of the **~/Pages/_Host.cshtml** file.
151+
Include the script reference in the `<head>` of the **~/Pages/_Host.cshtml** file.
151152

152153
{% tabs %}
153154
{% highlight razor tabtitle="~/-Host.cshtml" %}

blazor/rich-text-editor/toolbar.md

Lines changed: 28 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
---
22
layout: post
3-
title: Toolbar in Blazor RichTextEditor | Syncfusion
4-
description: Checkout and learn here all about Toolbar in Syncfusion Blazor RichTextEditor component and much more.
3+
title: Toolbar Configuration in Blazor Rich Text Editor | Syncfusion
4+
description: Checkout and learn here all about Toolbar in Syncfusion Blazor Rich Text Editor component and much more.
55
platform: Blazor
66
control: RichTextEditor
77
documentation: ug
88
---
99

10-
# Toolbar types in Blazor RichTextEditor
10+
# Toolbar types in Blazor Rich Text Editor
1111

12-
The Rich Text Editor toolbar contains a collection of tools such as bold, Italic, and text alignment buttons that are used to format the content.
12+
The Rich Text Editor toolbar provides a collection of tools such as Bold, Italic, and text alignment buttons used to format the content.
1313

1414
You can customize the toolbar configurations by using the [RichTextEditorToolbarSettings.Type](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.RichTextEditor.RichTextEditorToolbarSettings.html#Syncfusion_Blazor_RichTextEditor_RichTextEditorToolbarSettings_Type) property. The types of toolbar are:
1515

@@ -18,9 +18,9 @@ You can customize the toolbar configurations by using the [RichTextEditorToolbar
1818
3. Scrollable
1919
4. Popup
2020

21-
## Expand Toolbar
21+
## Expand toolbar
2222

23-
The expand toolbar allows to hide the overflowing items in the next line by using the [ToolbarType.Expand](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.RichTextEditor.ToolbarType.html#Syncfusion_Blazor_RichTextEditor_ToolbarType_Expand) property. By clicking the expand arrow, you can view the overflowing toolbar items. The default mode of toolbar is `Expand`.
23+
The [Expand](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.RichTextEditor.ToolbarType.html#Syncfusion_Blazor_RichTextEditor_ToolbarType_Expand) toolbar hides overflowing items in the next line using the property. By clicking the expand arrow, you can view the overflowing toolbar items. The default mode of toolbar is `Expand`.
2424

2525
{% tabs %}
2626
{% highlight razor %}
@@ -32,9 +32,9 @@ The expand toolbar allows to hide the overflowing items in the next line by usin
3232

3333
![Blazor RichTextEditor expand toolbar](./images/blazor-richtexteditor-expand-toolbar.png)
3434

35-
## Multi-row Toolbar
35+
## Multi-row toolbar
3636

37-
You can display the toolbar items in a row-wise format by using the [ToolbarType.MultiRow](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.RichTextEditor.ToolbarType.html#Syncfusion_Blazor_RichTextEditor_ToolbarType_MultiRow) property. All toolbar items are visible always.
37+
The [MultiRow]((https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.RichTextEditor.ToolbarType.html#Syncfusion_Blazor_RichTextEditor_ToolbarType_MultiRow)) toolbar displays items in multiple rows, ensuring all items are always visible.
3838

3939
{% tabs %}
4040
{% highlight razor %}
@@ -46,9 +46,9 @@ You can display the toolbar items in a row-wise format by using the [ToolbarType
4646

4747
![Blazor RichTextEditor multirow toolbar](./images/blazor-richtexteditor-multirow-toolbar.png)
4848

49-
## Scrollable Toolbar
49+
## Scrollable toolbar
5050

51-
You can display the toolbar items in a single line with horizontal scrolling by using the [ToolbarType.Scrollable](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.RichTextEditor.ToolbarType.html#Syncfusion_Blazor_RichTextEditor_ToolbarType_Scrollable) property.
51+
The [Scrollable](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.RichTextEditor.ToolbarType.html#Syncfusion_Blazor_RichTextEditor_ToolbarType_Scrollable) toolbar displays items in a single row with horizontal scrolling enabled.
5252

5353
{% tabs %}
5454
{% highlight razor %}
@@ -62,7 +62,7 @@ You can display the toolbar items in a single line with horizontal scrolling by
6262

6363
## Configuring a popup toolbar
6464

65-
You can display the toolbar items in a popup container by setting the [ToolbarType.Popup](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.RichTextEditor.ToolbarType.html#Syncfusion_Blazor_RichTextEditor_ToolbarType_Popup) property, which optimizes the toolbar layout for limited space and smaller screens.
65+
The [Popup](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.RichTextEditor.ToolbarType.html#Syncfusion_Blazor_RichTextEditor_ToolbarType_Popup) toolbar property displays items in a popup container, ideal for limited space or smaller screens.
6666

6767
{% tabs %}
6868
{% highlight razor %}
@@ -74,7 +74,7 @@ You can display the toolbar items in a popup container by setting the [ToolbarTy
7474

7575
![Blazor RichTextEditor multirow toolbar](./images/blazor-richtexteditor-popup-toolbar.png)
7676

77-
## Floating Toolbar
77+
## Floating toolbar
7878

7979
By default, toolbar is float at the top of the Rich Text Editor on scrolling. It can be customized by specifying the offset of the floating toolbar from documents top position using [FloatingToolbarOffset](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.RichTextEditor.SfRichTextEditor.html#Syncfusion_Blazor_RichTextEditor_SfRichTextEditor_FloatingToolbarOffset).
8080

@@ -101,7 +101,7 @@ The Rich Text Editor allows you to position the toolbar at the top or bottom of
101101

102102
By default, the toolbar is displayed at the top of the editor, making all formatting and editing tools immediately accessible above the content.
103103

104-
To position the toolbar at the bottom, use the [RichTextEditorToolbarSettings.Position](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.RichTextEditor.RichTextEditorToolbarSettings.html#Syncfusion_Blazor_RichTextEditor_RichTextEditorToolbarSettings_Position) property and set its value to `Bottom`. This places the toolbar below the content area, which can help maintain a cleaner top layout and improve accessibility in certain use cases.
104+
To move the toolbar to the bottom, use the [RichTextEditorToolbarSettings.Position](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.RichTextEditor.RichTextEditorToolbarSettings.html#Syncfusion_Blazor_RichTextEditor_RichTextEditorToolbarSettings_Position) property and set its value to `Bottom`. This places the toolbar below the content area, which can help maintain a cleaner top layout and improve accessibility in certain use cases.
105105

106106
{% tabs %}
107107
{% highlight razor %}
@@ -113,7 +113,7 @@ To position the toolbar at the bottom, use the [RichTextEditorToolbarSettings.Po
113113

114114
![Blazor RichTextEditor multirow toolbar](./images/blazor-richtexteditor-bottom-toolbar.png)
115115

116-
## Quick Toolbar
116+
## Quick toolbar
117117

118118
The Rich text editor has quick toolbars that are open as context-menu on clicking the image, link, audio, video and table elements. By default, the below quick toolbar items show on click on the corresponding elements. You can customize the quick toolbar items using the [RichTextEditorQuickToolbarSettings](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.RichTextEditor.RichTextEditorQuickToolbarSettings.html) property.
119119

@@ -126,9 +126,9 @@ The Rich text editor has quick toolbars that are open as context-menu on clickin
126126
| [Video](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.RichTextEditor.VideoToolbarCommand.html#fields) | VideoReplace, VideoAlign, VideoRemove, VideoLayoutOption, VideoDimension |
127127
| [Text](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.RichTextEditor.VideoToolbarCommand.html#fields) |No Default item have it and it support the all toolbar items |
128128

129-
### Image quick Toolbar
129+
### Image quick toolbar
130130

131-
You can customize the inserted image in the editor by using the [RichTextEditorQuickToolbarSettings.Image](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.RichTextEditor.RichTextEditorQuickToolbarSettings.html#Syncfusion_Blazor_RichTextEditor_RichTextEditorQuickToolbarSettings_Image) property. The image quick toolbar has the following items.
131+
Customize the inserted image using the [RichTextEditorQuickToolbarSettings.Image](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.RichTextEditor.RichTextEditorQuickToolbarSettings.html#Syncfusion_Blazor_RichTextEditor_RichTextEditorQuickToolbarSettings_Image) property. The image quick toolbar has the following items.
132132

133133
| Image Toolabr items | Description |
134134
| --------------------| ------------- |
@@ -151,9 +151,9 @@ You can customize the inserted image in the editor by using the [RichTextEditorQ
151151

152152
![Blazor RichTextEditor image quick toolbar](./images/blazor-richtexteditor-image-quick-toolbar.png)
153153

154-
### Link quick Toolbar
154+
### Link quick toolbar
155155

156-
You can customize the selected link inside the editor through the quick toolbar by using [RichTextEditorQuickToolbarSettings.Link](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.RichTextEditor.RichTextEditorQuickToolbarSettings.html#Syncfusion_Blazor_RichTextEditor_RichTextEditorQuickToolbarSettings_Link) property. The quick toolbar for link has the following options.
156+
Customize the selected link using the [RichTextEditorQuickToolbarSettings.Link](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.RichTextEditor.RichTextEditorQuickToolbarSettings.html#Syncfusion_Blazor_RichTextEditor_RichTextEditorQuickToolbarSettings_Link) property. The quick toolbar for link has the following options.
157157

158158
| Tools | Description |
159159
|----------------|--------------------------------------|
@@ -171,9 +171,9 @@ You can customize the selected link inside the editor through the quick toolbar
171171

172172
![Blazor RichTextEditor link quick toolbar](./images/blazor-richtexteditor-link-quick-toolbar.png)
173173

174-
### Table quick Toolbar
174+
### Table quick toolbar
175175

176-
Quick toolbar is opened by clicking the table. You can customize the table by using the [RichTextEditorQuickToolbarSettings.Table](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.RichTextEditor.RichTextEditorQuickToolbarSettings.html#Syncfusion_Blazor_RichTextEditor_RichTextEditorQuickToolbarSettings_Table) property. It has different sets of commands to be performed on the table which increases the feasibility to edit the table easily.
176+
The table quick toolbar appears when clicking on a table. You can customize the table by using the [RichTextEditorQuickToolbarSettings.Table](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.RichTextEditor.RichTextEditorQuickToolbarSettings.html#Syncfusion_Blazor_RichTextEditor_RichTextEditorQuickToolbarSettings_Table) property. It has different sets of commands to be performed on the table which increases the feasibility to edit the table easily.
177177

178178
| Tools | Description |
179179
|----------------|--------------------------------------|
@@ -195,9 +195,9 @@ Quick toolbar is opened by clicking the table. You can customize the table by us
195195

196196
![Blazor RichTextEditor table quick toolbar](./images/blazor-richtexteditor-table-quick-toolbar.png)
197197

198-
### Audio quick Toolbar
198+
### Audio quick toolbar
199199

200-
The Rich Text Editor allows you to customize the inserted audio by using the [RichTextEditorQuickToolbarSettings.Audio](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.RichTextEditor.RichTextEditorQuickToolbarSettings.html#Syncfusion_Blazor_RichTextEditor_RichTextEditorQuickToolbarSettings_Audio) property. The audio quick toolbar has the following items.
200+
Customize the inserted audio using the [RichTextEditorQuickToolbarSettings.Audio](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.RichTextEditor.RichTextEditorQuickToolbarSettings.html#Syncfusion_Blazor_RichTextEditor_RichTextEditorQuickToolbarSettings_Audio) property. The audio quick toolbar has the following items.
201201

202202
| Tools | Description |
203203
|----------------|--------------------------------------|
@@ -215,9 +215,9 @@ The Rich Text Editor allows you to customize the inserted audio by using the [Ri
215215

216216
![Blazor RichTextEditor audio quick toolbar](./images/blazor-richtexteditor-audio-quick-toolbar.png)
217217

218-
### Video quick Toolbar
218+
### Video quick toolbar
219219

220-
The Rich Text Editor allows you to customize the inserted video by using the [RichTextEditorQuickToolbarSettings.video](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.RichTextEditor.RichTextEditorQuickToolbarSettings.html#Syncfusion_Blazor_RichTextEditor_RichTextEditorQuickToolbarSettings_Video) property. The video quick toolbar has the following items.
220+
Customize the inserted video using the [RichTextEditorQuickToolbarSettings.video](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.RichTextEditor.RichTextEditorQuickToolbarSettings.html#Syncfusion_Blazor_RichTextEditor_RichTextEditorQuickToolbarSettings_Video) property. The video quick toolbar has the following items.
221221

222222
| Tools | Description |
223223
|----------------|--------------------------------------|
@@ -239,9 +239,9 @@ The Rich Text Editor allows you to customize the inserted video by using the [Ri
239239

240240
N> You can refer to our [Blazor Rich Text Editor](https://www.syncfusion.com/blazor-components/blazor-rich-text-editor) feature tour page for its groundbreaking feature representations. You can also explore our [Blazor Rich Text Editor](https://blazor.syncfusion.com/demos/rich-text-editor/overview?theme=bootstrap5) example to knows how to render and configure the rich text editor tools.
241241

242-
### Text quick Toolbar
242+
### Text quick toolbar
243243

244-
By activating the "RichTextEditorQuickToolbarSettings.Text" property, the Rich Text Editor offers the ability to display a quick toolbar when needed. The floating toolbar shows up when you select or focus on editable text. By modifying the "RichTextEditorQuickToolbarSettings.Text" property, the commands shown in the text quick toolbar can be changed.
244+
By activating the [RichTextEditorQuickToolbarSettings.Text](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.RichTextEditor.RichTextEditorQuickToolbarSettings.html#Syncfusion_Blazor_RichTextEditor_RichTextEditorQuickToolbarSettings_Text) property, the Rich Text Editor offers the ability to display a quick toolbar when needed. The floating toolbar shows up when you select or focus on editable text. By modifying the `RichTextEditorQuickToolbarSettings.Text` property, the commands shown in the text quick toolbar can be changed.
245245

246246
{% tabs %}
247247
{% highlight razor %}
@@ -269,7 +269,8 @@ private List<ToolbarItemModel> textQuickToolbarItems = new List<ToolbarItemModel
269269
{% endhighlight %}
270270
{% endtabs %}
271271

272-
Refer the following link for more items in the text quick toolbar.
272+
Refer to the following link for a complete list of available toolbar items:
273+
273274
https://blazor.syncfusion.com/documentation/rich-text-editor/tools/built-in-tools
274275

275276
{% tabs %}

0 commit comments

Comments
 (0)