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: MAUI/Rich-Text-Editor/Advanced-Features.md
+11-8Lines changed: 11 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,47 +11,50 @@ documentation: ug
11
11
12
12
This section covers the essential properties, methods, and events of the .NET MAUI [SfRichTextEditor](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.RichTextEditor.SfRichTextEditor.html) for handling content and user interactions.
13
13
14
-
## Setting Text
14
+
## Setting Plain Text
15
15
16
-
The Rich Text Editor control displays the text/formatted text(HTML string) that can be set using the [Text](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.RichTextEditor.SfRichTextEditor.html#Syncfusion_Maui_RichTextEditor_SfRichTextEditor_Text) property.
16
+
The Rich Text Editor control displays the plain text that can be set using the [Text](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.RichTextEditor.SfRichTextEditor.html#Syncfusion_Maui_RichTextEditor_SfRichTextEditor_Text) property.
17
17
18
18
{% tabs %}
19
19
20
20
{% highlight xaml %}
21
21
22
-
<richtexteditor:SfRichTextEditor Text="The <b>rich text editor</b> component is WYSIWYG editor that provides the best user experience to create and update the content" />
22
+
<richtexteditor:SfRichTextEditor Text="The rich text editor component is WYSIWYG editor that provides the best user experience to create and update the content" />
23
23
24
24
{% endhighlight %}
25
25
26
26
{% highlight C# %}
27
27
28
28
SfRichTextEditor richTextEditor = new SfRichTextEditor();
29
-
richtexteditor.Text = "The <b>rich text editor</b> component is WYSIWYG editor that provides the best user experience to create and update the content";
29
+
richTextEditor.Text = "The rich text editor component is WYSIWYG editor that provides the best user experience to create and update the content";
30
30
31
31
{% endhighlight %}
32
32
33
33
{% endtabs %}
34
34
35
-
## Retrieving HTML text
35
+

36
36
37
-
The formatted text of Rich Text Editor can be retrieved using the [HtmlText](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.RichTextEditor.SfRichTextEditor.html#Syncfusion_Maui_RichTextEditor_SfRichTextEditor_HtmlText) property of `SfRichTextEditor`.
37
+
## Setting HTML Formatted Text
38
+
39
+
The [HtmlText](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.RichTextEditor.SfRichTextEditor.html#Syncfusion_Maui_RichTextEditor_SfRichTextEditor_HtmlText) property of the `SfRichTextEditor` control is used to set HTML formatted text.
38
40
39
41
{% tabs %}
40
42
41
43
{% highlight xaml %}
42
44
43
-
<richtexteditor:SfRichTextEditor HtmlText="The rich text editor component is WYSIWYG editor that provides the best user experience to create and update the content" />
45
+
<richtexteditor:SfRichTextEditor HtmlText="The <b>rich text editor</b> component is WYSIWYG editor that provides the best user experience to create and update the content" />
44
46
45
47
{% endhighlight %}
46
48
47
49
{% highlight C# %}
48
50
49
51
SfRichTextEditor richTextEditor = new SfRichTextEditor();
50
-
richtexteditor.HtmlText = "The rich text editor component is WYSIWYG editor that provides the best user experience to create and update the content";
52
+
richTextEditor.HtmlText = "The <b>rich text editor</b> component is WYSIWYG editor that provides the best user experience to create and update the content";
51
53
52
54
{% endhighlight %}
53
55
54
56
{% endtabs %}
57
+

0 commit comments