Skip to content

Commit 5a75010

Browse files
authored
Merge pull request #3590 from syncfusion-content/Tools-UG-Rich-text-editor
Modified SfRichTextEditor Images
2 parents e3aa854 + 693d60c commit 5a75010

File tree

5 files changed

+3
-26
lines changed

5 files changed

+3
-26
lines changed

MAUI/Rich-Text-Editor/Basic-Features.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,8 +320,8 @@ The `TextChanged` event is fired whenever the content in the editor is changed.
320320

321321
private void OnTextChanged(object sender, RichTextEditorTextChangedEventArgs e)
322322
{
323-
string oldHtml = e.OldValue;
324-
string newHtml = e.NewValue;
323+
string oldHtml = e.OldText;
324+
string newHtml = e.NewText;
325325
// Handle when Text changed
326326
}
327327

MAUI/Rich-Text-Editor/Getting-Started.md

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -269,29 +269,6 @@ this.Content = richTextEditor;
269269

270270
![.NET MAUI Rich Text Editor with Toolbar](images/richtexteditor-image.png)
271271

272-
## Set Initial HTML Content
273-
274-
You can set the initial content of the editor by assigning an HTML string to the `Text` property.
275-
276-
{% tabs %}
277-
278-
{% highlight xaml %}
279-
280-
<rte:SfRichTextEditor ShowToolbar="True" />
281-
282-
{% endhighlight %}
283-
284-
{% highlight C# %}
285-
286-
SfRichTextEditor richTextEditor = new SfRichTextEditor();
287-
richTextEditor.ShowToolbar = true;
288-
richTextEditor.Text = "<p>The <b>Syncfusion .NET MAUI Rich Text Editor</b> is a powerful WYSIWYG editor that allows you to create and edit rich text content with a variety of formatting options.</p>";
289-
this.Content = richTextEditor;
290-
291-
{% endhighlight %}
292-
293-
{% endtabs %}
294-
295272
## Customize Toolbar Items
296273

297274
By default, the toolbar shows a predefined set of items. You can customize which items are displayed by populating the `ToolbarItems` collection.

MAUI/Rich-Text-Editor/Image-Insertion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ private async void OnImageInserting(object sender, RichTextEditorImageRequestedE
4141
{% endhighlight %}
4242
{% endtabs %}
4343

44-
![.NET MAUI Rich Text Editor image insertion image](images/richtexteditor-image-insertion.png)
44+
![.NET MAUI Rich Text Editor image insertion image](images/richtexteditor-image-insertion.gif)
173 KB
Loading
-53.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)