diff --git a/MAUI/Rich-Text-Editor/AutoSize.md b/MAUI/Rich-Text-Editor/AutoSize.md
index 20e979b60..43423c28b 100644
--- a/MAUI/Rich-Text-Editor/AutoSize.md
+++ b/MAUI/Rich-Text-Editor/AutoSize.md
@@ -9,44 +9,36 @@ documentation: ug
# AutoSize in .NET MAUI Rich Text Editor (SfRichTextEditor)
-The .NET MAUI Rich Text Editor control supports dynamically changing its height based on the content. This feature can be enabled by setting the `EnableAutoSize` property to `True`. When enabled, the editor will automatically resize to fit its content, eliminating the need for scroll bars within the control. By default, the `EnableAutoSize` property is `False`.
+The .NET MAUI Rich Text Editor control can dynamically change its height to fit the content by setting the `EnableAutoSize` property to `True`. By default, this property is `False`.
-The following code example shows how to enable `EnableAutoSize` in the Rich Text Editor control.
+When `EnableAutoSize` is active, the editor’s height will grow or shrink as content is added or removed. For the best results, place the editor within a layout that can accommodate its changing height, such as a `VerticalStackLayout`.
+
+The following example demonstrates how to place an auto-sizing `SfRichTextEditor` inside a `VerticalStackLayout`.
{% tabs %}
{% highlight xaml %}
-
Visit the Syncfusion website.
"; +richTextEditor.HtmlText = "Visit the Syncfusion website.
"; richTextEditorHyperlinkClicked += OnHyperlinkClicked diff --git a/MAUI/Rich-Text-Editor/Customization.md b/MAUI/Rich-Text-Editor/Customization.md index e41659881..4983d9867 100644 --- a/MAUI/Rich-Text-Editor/Customization.md +++ b/MAUI/Rich-Text-Editor/Customization.md @@ -9,7 +9,7 @@ documentation: ug # Customization in .NET MAUI Rich Text Editor (SfRichTextEditor) -The .NET MAUI Rich Text Editor control provides extensive options for customizing the toolbar's items, appearance, and position, as well as the editor's placeholder text and read-only state. +The .NET MAUI Rich Text Editor control provides extensive options for customizing its appearance and functionality, from the toolbar and editor area to programmatic formatting and hyperlink management. ## Customizing the Toolbar @@ -283,9 +283,9 @@ richTextEditor.InsertHyperlink("Example", "https://example.com"); ### Edit a Hyperlink -Use the `EditHyperlink( string text, string oldUrl, string newUrl)` method to modify an existing hyperlink. You can change its display text or its target URL. +Use the `EditHyperlink(string text, string oldUrl, string newUrl)` method to modify an existing hyperlink. You can change its target URL. -* `text`: The new display text for the hyperlink. +* `text`: The existing display text for the hyperlink. * `oldUrl`: The original URL of the hyperlink you want to edit. * `newUrl`: The new URL for the hyperlink. @@ -309,7 +309,7 @@ Use the `"RemoveHyperlink(string text, string Url)` method to remove a hyperlink {% highlight c# %} // Remove a specific hyperlink, keeping its text -richTextEditor.RemoveHyperlink("Syncfusion", "https://www.google.com/"); +richTextEditor.RemoveHyperlink("Example", "https://www.google.com/"); {% endhighlight %} {% endtabs %} diff --git a/MAUI/Rich-Text-Editor/Getting-Started.md b/MAUI/Rich-Text-Editor/Getting-Started.md index e3b00631a..e73189194 100644 --- a/MAUI/Rich-Text-Editor/Getting-Started.md +++ b/MAUI/Rich-Text-Editor/Getting-Started.md @@ -312,4 +312,5 @@ this.Content = richTextEditor; {% endtabs %} -N> You can find the getting started sample of .NET MAUI SfRichTextEditor from this **link**. +N> You can find the getting started sample of .NET MAUI SfRichTextEditor from this `link`. + diff --git a/MAUI/Rich-Text-Editor/Image-Insertion.md b/MAUI/Rich-Text-Editor/Image-Insertion.md index 09af6c754..acdaa8106 100644 --- a/MAUI/Rich-Text-Editor/Image-Insertion.md +++ b/MAUI/Rich-Text-Editor/Image-Insertion.md @@ -33,8 +33,8 @@ private async void OnImageInserting(object sender, RichTextEditorImageRequestedE RichTextEditorImageSource richTextEditorImageSource = new(); richTextEditorImageSource.ImageFormat = RichTextEditorImageFormat.Base64; richTextEditorImageSource.Source =ImageSource.FromUri(new Uri("https://aka.ms/campus.jpg")); - richTextEditorImageSource.Width = 100; - richTextEditorImageSource.Height = 20; + richTextEditorImageSource.Width = 250; + richTextEditorImageSource.Height = 100; richTextEditor.InsertImage(richTextEditorImageSource); }