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/markdown-editor/accessibility.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,24 +41,24 @@ The accessibility compliance for the Blazor Markdown Editor component is outline
41
41
42
42
## WAI-ARIA attributes
43
43
44
-
*The toolbar of Blazor Markdown Editor, assigned the role of `Toolbar` and has the following list of[WAI-ARIA](https://www.w3.org/WAI/ARIA/apg/patterns/) attribute.
44
+
The toolbar in the Blazor Markdown Editor is assigned the role of `toolbar` and includes the following [WAI-ARIA](https://www.w3.org/WAI/ARIA/apg/patterns/) attribute.
45
45
46
46
|**Property**|**Functionalities**|
47
47
| --- | --- |
48
-
| role="toolbar" |This attribute added to the ToolBar element describes the actual role of the element. |
49
-
| aria-orientation| Indicates the ToolBar orientation. Default value is `horizontal`. |
50
-
| aria-haspopup| Indicates the popup mode of the Toolbar. Default value is false. When popup mode is enabled, attribute value has to be changed to `true`. ||
51
-
| aria-disabled| Indicates the disabled state of the ToolBar. |
52
-
| aria-owns | Identifies an element to define a visual, functional, or contextual parent/child relationship between DOM elements when the DOM hierarchy cannot represent the relationship. In the Markdown Editor, the attribute contains the ID of the Markdown Editor to indicate the popup as a child element. |
48
+
|`role="toolbar"`|Describes the actual role of the toolbar element. |
49
+
|`aria-orientation`| Indicates the toolbar orientation. Default is `horizontal`. |
50
+
|`aria-haspopup`| Indicates whether the toolbar has a popup. Default is `false`. Set to `true` wwhen popup mode is enabled.|
51
+
|`aria-disabled`| Indicates the disabled state of the toolbar. |
52
+
|`aria-owns`| Identifies an element to define a visual, functional, or contextual parent/child relationship between DOM elements when the DOM hierarchy cannot represent the relationship. In the Markdown Editor, the attribute contains the ID of the Markdown Editor to indicate the popup as a child element. |
53
53
54
-
For further details of Toolbar ARIA attributes, refer the [`accessibility of Toolbar`](../../toolbar/accessibility) documentation.
54
+
or more information about toolbar ARIA attributes, refer to the [accessibility of Toolbar](https://blazor.syncfusion.com/documentation/toolbar/accessibility) documentation.
55
55
56
-
The Blazor Markdown Editor element is assigned the role of `application`.
56
+
The Blazor Markdown Editor element is assigned the role of `application`:
57
57
58
58
|**Property**|**Functionalities**|
59
59
| --- | --- |
60
-
| role="application"| This attribute added to the Markdown Editor element describes the actual role of the element. |
61
-
| aria-disabled| Indicates the disabled state of the ToolBar. |
60
+
|`role="application"`| Describes the actual role of the Markdown Editor element. |
61
+
|`aria-disabled`| Indicates the disabled state of the toolbar. |
62
62
63
63
{% tabs %}
64
64
{% highlight cshtml %}
@@ -72,13 +72,13 @@ The Blazor Markdown Editor element is assigned the role of `application`.
72
72
73
73
## Keyboard interaction
74
74
75
-
The Blazor Markdown Editor component followed the [keyboard interaction](https://www.w3.org/WAI/ARIA/apg/patterns/alert/#keyboardinteraction)guideline, making it easy for people who use assistive technologies (AT) and those who completely rely on keyboard navigation. The following keyboard shortcuts are supported by the Markdown Editor component.
75
+
The Blazor Markdown Editor component follows the [keyboard interaction](https://www.w3.org/WAI/ARIA/apg/patterns/alert/#keyboardinteraction)guidelines, making it easy for people who use assistive technologies (AT) and those who completely rely on keyboard navigation. The following keyboard shortcuts are supported by the Markdown Editor component.
76
76
77
77
For more details on keyboard navigation, refer to the [Keyboard support](https://blazor.syncfusion.com/documentation/rich-text-editor/keyboard-support) documentation.
78
78
79
79
## Ensuring accessibility
80
80
81
-
The Blazor Markdown Editor component's accessibility levels are ensured through an [axe-core](https://www.npmjs.com/package/axe-core) software tool during automated testing.
81
+
Accessibility levels are validated using the[axe-core](https://www.npmjs.com/package/axe-core) software tool during automated testing.
82
82
83
83
The accessibility compliance of the Markdown Editor component is shown in the following sample. Open the [sample](https://blazor.syncfusion.com/accessibility/rich-text-editor) in a new window to evaluate the accessibility of the Markdown Editor component with accessibility tools.
84
84
@@ -101,4 +101,4 @@ N> You can refer to our [Blazor Rich Text Editor](https://www.syncfusion.com/bla
101
101
102
102
## See also
103
103
104
-
*[Accessibility in Syncfusion<supstyle="font-size:70%">®</sup> Blazor components](../common/accessibility)
104
+
*[Accessibility in Syncfusion<supstyle="font-size:70%">®</sup> Blazor components](../common/accessibility)
Copy file name to clipboardExpand all lines: blazor/markdown-editor/custom-format.md
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,19 +1,22 @@
1
1
---
2
2
layout: post
3
3
title: Customize Markdown Syntax in Blazor Markdown Editor | Syncfusion
4
-
description: Checkout and learn here all about Customizing Markdown Syntax in Syncfusion Blazor Markdown Editor component and more.
4
+
description: Learn how to customize Markdown syntax in the Syncfusion Blazor Markdown Editor component, including formatting options, toolbar customization, and more.
5
5
platform: Blazor
6
6
control: MarkdownEditor
7
7
documentation: ug
8
8
---
9
9
10
10
# Customizing Markdown Syntax in Blazor Markdown Editor Component
11
11
12
-
The Rich Text Editor allows you to customize the markdown syntax by overriding its default syntax. Configure the customized markdown syntax using [RichTextEditorMarkdownOptions.ListSyntax](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.RichTextEditor.RichTextEditorMarkdownOptions.html#Syncfusion_Blazor_RichTextEditor_RichTextEditorMarkdownOptions_ListSyntax), [RichTextEditorMarkdownOptions.FormatSyntax](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.RichTextEditor.RichTextEditorMarkdownOptions.html#Syncfusion_Blazor_RichTextEditor_RichTextEditorMarkdownOptions_FormatSyntax), [RichTextEditorMarkdownOptions.SelectionSyntax](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.RichTextEditor.RichTextEditorMarkdownOptions.html#Syncfusion_Blazor_RichTextEditor_RichTextEditorMarkdownOptions_SelectionSyntax) properties.
12
+
The Rich Text Editor allows you to customize the Markdown syntax by overriding its default behavior. You can configure custom Markdown syntax using the following properties:
Copy file name to clipboardExpand all lines: blazor/markdown-editor/getting-started-webapp.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ documentation: ug
9
9
10
10
# Getting Started with Blazor Markdown Editor in Blazor Web App
11
11
12
-
This section briefly explains about how to include[Blazor Rich Text Editor](https://www.syncfusion.com/blazor-components/blazor-wysiwyg-rich-text-editor) component in your Blazor Web App using [Visual Studio](https://visualstudio.microsoft.com/vs/) and Visual Studio Code.
12
+
This section explains how to integrate[Blazor Rich Text Editor](https://www.syncfusion.com/blazor-components/blazor-wysiwyg-rich-text-editor) component in your Blazor Web App using [Visual Studio](https://visualstudio.microsoft.com/vs/) and Visual Studio Code.
13
13
14
14
{% tabcontents %}
15
15
@@ -29,7 +29,7 @@ You need to configure the corresponding [Interactive render mode](https://learn.
29
29
30
30
To add **Blazor Markdown Editor** component in the app, open the NuGet package manager in Visual Studio (*Tools → NuGet Package Manager → Manage NuGet Packages for Solution*), search and install [Syncfusion.Blazor.RichTextEditor](https://www.nuget.org/packages/Syncfusion.Blazor.RichTextEditor) and [Syncfusion.Blazor.Themes](https://www.nuget.org/packages/Syncfusion.Blazor.Themes/).
31
31
32
-
If you utilize `WebAssembly or Auto` render modes in the Blazor Web App need to be install Syncfusion<supstyle="font-size:70%">®</sup> Blazor components NuGet packages within the client project.
32
+
If you utilize `WebAssembly or Auto` render modes in the Blazor Web App need to install Syncfusion<supstyle="font-size:70%">®</sup> Blazor component NuGet packages in the client project.
33
33
34
34
Alternatively, you can utilize the following package manager command to achieve the same.
35
35
@@ -74,7 +74,7 @@ N> For more information on creating a **Blazor Web App** with various interactiv
74
74
75
75
## Install Syncfusion<supstyle="font-size:70%">®</sup> Blazor RichTextEditor and Themes NuGet in the App
76
76
77
-
If you utilize `WebAssembly` or `Auto` render modes in the Blazor Web App need to be install Syncfusion<supstyle="font-size:70%">®</sup> Blazor components NuGet packages within the client project.
77
+
If you utilize `WebAssembly` or `Auto` render modes in the Blazor Web App need to install Syncfusion<supstyle="font-size:70%">®</sup> Blazor component NuGet packages in the client project.
78
78
79
79
* Press <kbd>Ctrl</kbd>+<kbd>`</kbd> to open the integrated terminal in Visual Studio Code.
80
80
* Ensure you’re in the project root directory where your `.csproj` file is located.
@@ -207,7 +207,7 @@ N> If an **Interactivity Location** is set to `Global` and the **Render Mode** i
207
207
{% tabs %}
208
208
{% highlight razor %}
209
209
210
-
@* desired render mode define here *@
210
+
@*Define the desired render mode here *@
211
211
@rendermode InteractiveAuto
212
212
213
213
{% endhighlight %}
@@ -220,7 +220,7 @@ N> If an **Interactivity Location** is set to `Global` and the **Render Mode** i
220
220
221
221
@code {
222
222
private string MarkdownValue { get; set; } = @"In Rich Text Editor, you click the toolbar buttons to format the words and
223
-
the changes are visible immediately. Markdown is not like that. When you format the word in Markdown format, you need to add Markdown syntax to the word to indicate which words and phrases should look different from each other. Rich Text Editor supports markdown editing when the editorMode set as **markdown** and using both *keyboard interaction* and *toolbar action*, you can apply the formatting to text. You can add our own custom formation syntax for the Markdown formation, [sample link](https://ej2.syncfusion.com/home/). The third-party library <b>Marked</b> is used in this sample to convert markdown into HTML content.";
223
+
the changes are visible immediately. In contrast, Markdown requires syntax to indicate formatting. When you format the word in Markdown format, you need to add Markdown syntax to the word to indicate which words and phrases should look different from each other. Rich Text Editor supports markdown editing when the editorMode set as **markdown** and using both *keyboard interaction* and *toolbar action*, you can apply the formatting to text. You can add your own custom formatting syntax for the Markdown formation, [sample link](https://ej2.syncfusion.com/home/). The third-party library <b>Marked</b> is used in this sample to convert markdown into HTML content.";
224
224
225
225
}
226
226
@@ -245,7 +245,7 @@ Configure the toolbar with the tools using [RichTextEditorToolbarSettings.Items]
245
245
@code {
246
246
247
247
private string MarkdownValue { get; set; } = @"In Rich Text Editor, you click the toolbar buttons to format the words and
248
-
the changes are visible immediately. Markdown is not like that. When you format the word in Markdown format, you need to add Markdown syntax to the word to indicate which words and phrases should look different from each other. Rich Text Editor supports markdown editing when the editorMode set as **markdown** and using both *keyboard interaction* and *toolbar action*, you can apply the formatting to text. You can add our own custom formation syntax for the Markdown formation, [sample link](https://ej2.syncfusion.com/home/). The third-party library <b>Marked</b> is used in this sample to convert markdown into HTML content.";
248
+
the changes are visible immediately. In contrast, Markdown requires syntax to indicate formatting. When you format the word in Markdown format, you need to add Markdown syntax to the word to indicate which words and phrases should look different from each other. Rich Text Editor supports markdown editing when the editorMode set as **markdown** and using both *keyboard interaction* and *toolbar action*, you can apply the formatting to text. You can add your own custom formatting syntax for the Markdown formation, [sample link](https://ej2.syncfusion.com/home/). The third-party library <b>Marked</b> is used in this sample to convert markdown into HTML content.";
249
249
250
250
private List<ToolbarItemModel> Tools = new List<ToolbarItemModel>()
251
251
{
@@ -305,7 +305,7 @@ To retrieve the contents of the Markdown editor, use the [Value](https://help.sy
305
305
private bool Visibility = false;
306
306
private string Header = "Markdown Editor Value";
307
307
private string RteValue = @" In Rich Text Editor, you click the toolbar buttons to format the words and
308
-
the changes are visible immediately. Markdown is not like that. When you format the word in Markdown format, you need to add Markdown syntax to the word to indicate which words and phrases should look different from each other. Rich Text Editor supports markdown editing when the editorMode set as **markdown** and using both *keyboard interaction* and *toolbar action*, you can apply the formatting to text. You can add our own custom formation syntax for the Markdown formation, [sample link](https://ej2.syncfusion.com/home/). The third-party library <b>Marked</b> is used in this sample to convert markdown into HTML content.";
308
+
the changes are visible immediately. In contrast, Markdown requires syntax to indicate formatting. When you format the word in Markdown format, you need to add Markdown syntax to the word to indicate which words and phrases should look different from each other. Rich Text Editor supports markdown editing when the editorMode set as **markdown** and using both *keyboard interaction* and *toolbar action*, you can apply the formatting to text. You can add your own custom formatting syntax for the Markdown formation, [sample link](https://ej2.syncfusion.com/home/). The third-party library <b>Marked</b> is used in this sample to convert markdown into HTML content.";
309
309
private async Task GetValue()
310
310
{
311
311
this.Content = this.RteValue;
@@ -350,7 +350,7 @@ To retrieve the maximum number of characters in the Markdown Editor's content, u
350
350
private bool Visibility = false;
351
351
private string Header = "Rich Text Editor's Value";
352
352
private string RteValue = @"In Rich Text Editor, you click the toolbar buttons to format the words and
353
-
the changes are visible immediately. Markdown is not like that. When you format the word in Markdown format, you need to add Markdown syntax to the word to indicate which words and phrases should look different from each other. Rich Text Editor supports markdown editing when the editorMode set as **markdown** and using both *keyboard interaction* and *toolbar action*, you can apply the formatting to text. You can add our own custom formation syntax for the Markdown formation, [sample link](https://ej2.syncfusion.com/home/). The third-party library <b>Marked</b> is used in this sample to convert markdown into HTML content.";
353
+
the changes are visible immediately. In contrast, Markdown requires syntax to indicate formatting. When you format the word in Markdown format, you need to add Markdown syntax to the word to indicate which words and phrases should look different from each other. Rich Text Editor supports markdown editing when the editorMode set as **markdown** and using both *keyboard interaction* and *toolbar action*, you can apply the formatting to text. You can add your own custom formatting syntax for the Markdown formation, [sample link](https://ej2.syncfusion.com/home/). The third-party library <b>Marked</b> is used in this sample to convert markdown into HTML content.";
Copy file name to clipboardExpand all lines: blazor/markdown-editor/insert-image.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,19 +7,19 @@ control: MarkdownEditor
7
7
documentation: ug
8
8
---
9
9
10
-
# Insert Images in Blazor Markdown Editor Component
10
+
# How to Insert Images in Blazor Markdown Editor Component
11
11
12
-
The Syncfusion<supstyle="font-size:70%">®</sup> Blazor Markdown Editor allows users to insert images using the toolbar. This feature enables embedding images from online sources into the editor content.
12
+
The Syncfusion<supstyle="font-size:70%">®</sup> Blazor Markdown Editor allows users to insert images using the built-in toolbar. This feature supports embedding images from online sources directly into the editor content.
13
13
14
-
## Steps to Insert an Image
14
+
## Steps to Insert an Image
15
15
16
-
Follow these steps to add an image in the Markdown editor:
16
+
To insert an image in the Markdown Editor:
17
17
18
18
1. Click the [Image](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.RichTextEditor.RichTextEditorImageSettings.html) icon in the toolbar.
19
19
2. Enter the **URL** of the image from an online source.
20
20
3. Click the **Insert** button in the image dialog.
21
21
22
-
The image will be added to the editor content at the cursor position.
22
+
The image will be added to the editor content at the current cursor position.
23
23
24
24
The following example demonstrates how to enable image insertion in the Syncfusion<supstyle="font-size:70%">®</sup> Blazor Markdown Editor.
25
25
@@ -31,4 +31,4 @@ The following example demonstrates how to enable image insertion in the Syncfusi
0 commit comments