Implementing Syncfusion .NET MAUI Rich Text Editors
The Syncfusion .NET MAUI Rich Text Editor (SfRichTextEditor) provides a powerful WYSIWYG editing experience for creating richly formatted text content. It offers comprehensive formatting tools, customizable toolbar, image and table insertion, hyperlink management, and returns valid HTML markup. This skill guides you through implementing rich text editors for messaging apps, email composers, blog editors, note-taking applications, and any scenario requiring formatted text input.
When to Use This Skill
Use this skill when you need to:
- Implement WYSIWYG text editors in .NET MAUI applications with formatting capabilities
- Create email composers or messaging apps that support rich text formatting (bold, italic, lists, etc.)
- Build blog editors, CMS interfaces, or forum post editors with HTML output
- Add note-taking or document editing features with formatting toolbar
- Enable feedback forms, review sections, or comment areas with rich content support
- Implement text editors with images, tables, and hyperlinks embedded in content
- Customize toolbar items and appearance for specific editing scenarios
- Handle formatted text programmatically with methods for bold, italic, alignment, colors, etc.
- Manage user interactions through events (text changes, hyperlink clicks, format changes)
- Apply advanced features like auto-sizing or Liquid Glass Effect for modern UI
Component Overview
- WYSIWYG Editing - What-you-see-is-what-you-get interface for formatted text
- Comprehensive Formatting - Bold, italic, underline, strikethrough, fonts, colors, alignment, lists, indentation
- Customizable Toolbar - Rich, configurable toolbar with show/hide/custom items
- Images & Tables - Seamless insertion and formatting of images and tables
- Hyperlink Support - Insert, edit, and remove hyperlinks with click events
- Programmatic Control - Methods for applying formatting, managing content, and controlling editor state
- Events - FormatChanged, TextChanged, HyperlinkClicked, Focused/Unfocused for reactive UI
- HTML Output - Returns valid HTML markup for storage or transmission
- AutoSize - Dynamic height adjustment based on content
- Liquid Glass Effect - Modern Cupertino-style visual effects (iOS/macOS)
Documentation and Navigation Guide
Getting Started
📄 Read: references/getting-started.md
- Installing the Syncfusion.Maui.RichTextEditor NuGet package
- Adding SfRichTextEditor to XAML and C#
- Namespace registration and basic setup
- Enabling the toolbar (ShowToolbar property)
- Customizing toolbar items with ToolbarItems collection
- First working example with formatted text
Toolbar Configuration
📄 Read: references/toolbar.md
- Positioning toolbar (top or bottom) with ToolbarPosition property
- Available toolbar items (Bold, Italic, FontFamily, FontSize, lists, images, tables, etc.)
- Adding or removing specific toolbar items
- Separator items for visual grouping
- Inline link tooltip functionality
- Customizing toolbar appearance with ToolbarSettings
- Background color, text color, separator styling
- Scroll button visibility and icon customization
- Platform-specific toolbar behaviors
Formatting and Customization
📄 Read: references/formatting-and-customization.md
- Customizing editor appearance (background, border, word wrap)
- Programmatic formatting methods (ToggleBold, ToggleItalic, ToggleUnderline, etc.)
- Character formatting (bold, italic, underline, strikethrough, subscript, superscript)
- List formatting (bullet and numbered lists)
- Text alignment (left, right, center, justify)
- Applying font family, font size, text color, and highlight color
- Paragraph formatting and heading styles
- Indentation control (increase/decrease)
- Default text styles for new content
Content Management
📄 Read: references/content-management.md
- Setting plain text with Text property
- Setting HTML formatted text with HtmlText property
- Getting selected HTML content (GetSelectedText method)
- Configuring placeholder text and styling
- Programmatic cursor control (MoveCursorToStart, MoveCursorToEnd)
- Focus and unfocus methods
- Undo and redo functionality
- Content manipulation patterns and best practices
Images and Tables
📄 Read: references/images-and-tables.md
- Image insertion overview and ImageRequested event
- Inserting images from gallery, file picker, stream, or URI
- RichTextEditorImageSource configuration (format, size, source)
- Platform-specific permissions (MacCatalyst file access)
- Table insertion from toolbar with row/column dialog
- Programmatic table insertion with InsertTable method
- Specifying table dimensions
- Examples for both images and tables
Hyperlinks
📄 Read: references/hyperlinks.md
- Inserting hyperlinks with InsertHyperlink method
- Display text and URL parameters
- Editing existing hyperlinks with EditHyperlink method
- Removing hyperlinks while preserving text (RemoveHyperlink)
- Link quick tooltip behavior
- HyperlinkClicked event for handling link interactions
- Extracting link URL and display text from events
- Use cases and patterns for hyperlink management
Events and Interactions
📄 Read: references/events-and-interactions.md
- FormatChanged event for tracking formatting state
- TextChanged event with old and new HTML content
- HyperlinkClicked event with URL and display text
- Focused and Unfocused events for input state
- Event subscription patterns in XAML and C#
- Using events for contextual UI updates
- Combining events with programmatic formatting
- Real-world event handling scenarios
Advanced Features
📄 Read: references/advanced-features.md
- AutoSize functionality with EnableAutoSize property
- Dynamic height adjustment based on content
- Layout considerations for auto-sizing editors
- Liquid Glass Effect with EnableLiquidGlassEffect (iOS/macOS)
- Platform requirements (.NET 10, iOS/macOS 26+)
- Cupertino theme integration and transparent backgrounds
- Customizing toolbar and editor corner radius
- Theme keys for visual customization
- Combining advanced features for modern UI
1---2name: syncfusion-maui-rich-text-editor3description: Implements Syncfusion .NET MAUI Rich Text Editor (SfRichTextEditor) for WYSIWYG text editing with formatting, images, tables, and hyperlinks. Use when building rich text editors, document editors, email composers, blog post editors, or messaging apps with formatting. Covers text styling, toolbar formatting, images, tables, hyperlinks, and HTML output.4---5
6# Implementing Syncfusion .NET MAUI Rich Text Editors
7
8The Syncfusion .NET MAUI Rich Text Editor (SfRichTextEditor) provides a powerful WYSIWYG editing experience for creating richly formatted text content. It offers comprehensive formatting tools, customizable toolbar, image and table insertion, hyperlink management, and returns valid HTML markup. This skill guides you through implementing rich text editors for messaging apps, email composers, blog editors, note-taking applications, and any scenario requiring formatted text input.
9
10## When to Use This Skill
11
12Use this skill when you need to:
13
14- **Implement WYSIWYG text editors** in .NET MAUI applications with formatting capabilities
15- **Create email composers or messaging apps** that support rich text formatting (bold, italic, lists, etc.)
16- **Build blog editors, CMS interfaces, or forum post editors** with HTML output
17- **Add note-taking or document editing features** with formatting toolbar
18- **Enable feedback forms, review sections, or comment areas** with rich content support
19- **Implement text editors with images, tables, and hyperlinks** embedded in content
20- **Customize toolbar items and appearance** for specific editing scenarios
21- **Handle formatted text programmatically** with methods for bold, italic, alignment, colors, etc.
22- **Manage user interactions** through events (text changes, hyperlink clicks, format changes)
23- **Apply advanced features** like auto-sizing or Liquid Glass Effect for modern UI
24
25## Component Overview
26
27- **WYSIWYG Editing** - What-you-see-is-what-you-get interface for formatted text
28- **Comprehensive Formatting** - Bold, italic, underline, strikethrough, fonts, colors, alignment, lists, indentation
29- **Customizable Toolbar** - Rich, configurable toolbar with show/hide/custom items
30- **Images & Tables** - Seamless insertion and formatting of images and tables
31- **Hyperlink Support** - Insert, edit, and remove hyperlinks with click events
32- **Programmatic Control** - Methods for applying formatting, managing content, and controlling editor state
33- **Events** - FormatChanged, TextChanged, HyperlinkClicked, Focused/Unfocused for reactive UI
34- **HTML Output** - Returns valid HTML markup for storage or transmission
35- **AutoSize** - Dynamic height adjustment based on content
36- **Liquid Glass Effect** - Modern Cupertino-style visual effects (iOS/macOS)
37
38## Documentation and Navigation Guide
39
40### Getting Started
41📄 **Read:** [references/getting-started.md](references/getting-started.md)
42- Installing the Syncfusion.Maui.RichTextEditor NuGet package
43- Adding SfRichTextEditor to XAML and C#
44- Namespace registration and basic setup
45- Enabling the toolbar (ShowToolbar property)
46- Customizing toolbar items with ToolbarItems collection
47- First working example with formatted text
48
49### Toolbar Configuration
50📄 **Read:** [references/toolbar.md](references/toolbar.md)
51- Positioning toolbar (top or bottom) with ToolbarPosition property
52- Available toolbar items (Bold, Italic, FontFamily, FontSize, lists, images, tables, etc.)
53- Adding or removing specific toolbar items
54- Separator items for visual grouping
55- Inline link tooltip functionality
56- Customizing toolbar appearance with ToolbarSettings
57- Background color, text color, separator styling
58- Scroll button visibility and icon customization
59- Platform-specific toolbar behaviors
60
61### Formatting and Customization
62📄 **Read:** [references/formatting-and-customization.md](references/formatting-and-customization.md)
63- Customizing editor appearance (background, border, word wrap)
64- Programmatic formatting methods (ToggleBold, ToggleItalic, ToggleUnderline, etc.)
65- Character formatting (bold, italic, underline, strikethrough, subscript, superscript)
66- List formatting (bullet and numbered lists)
67- Text alignment (left, right, center, justify)
68- Applying font family, font size, text color, and highlight color
69- Paragraph formatting and heading styles
70- Indentation control (increase/decrease)
71- Default text styles for new content
72
73### Content Management
74📄 **Read:** [references/content-management.md](references/content-management.md)
75- Setting plain text with Text property
76- Setting HTML formatted text with HtmlText property
77- Getting selected HTML content (GetSelectedText method)
78- Configuring placeholder text and styling
79- Programmatic cursor control (MoveCursorToStart, MoveCursorToEnd)
80- Focus and unfocus methods
81- Undo and redo functionality
82- Content manipulation patterns and best practices
83
84### Images and Tables
85📄 **Read:** [references/images-and-tables.md](references/images-and-tables.md)
86- Image insertion overview and ImageRequested event
87- Inserting images from gallery, file picker, stream, or URI
88- RichTextEditorImageSource configuration (format, size, source)
89- Platform-specific permissions (MacCatalyst file access)
90- Table insertion from toolbar with row/column dialog
91- Programmatic table insertion with InsertTable method
92- Specifying table dimensions
93- Examples for both images and tables
94
95### Hyperlinks
96📄 **Read:** [references/hyperlinks.md](references/hyperlinks.md)
97- Inserting hyperlinks with InsertHyperlink method
98- Display text and URL parameters
99- Editing existing hyperlinks with EditHyperlink method
100- Removing hyperlinks while preserving text (RemoveHyperlink)
101- Link quick tooltip behavior
102- HyperlinkClicked event for handling link interactions
103- Extracting link URL and display text from events
104- Use cases and patterns for hyperlink management
105
106### Events and Interactions
107📄 **Read:** [references/events-and-interactions.md](references/events-and-interactions.md)
108- FormatChanged event for tracking formatting state
109- TextChanged event with old and new HTML content
110- HyperlinkClicked event with URL and display text
111- Focused and Unfocused events for input state
112- Event subscription patterns in XAML and C#
113- Using events for contextual UI updates
114- Combining events with programmatic formatting
115- Real-world event handling scenarios
116
117### Advanced Features
118📄 **Read:** [references/advanced-features.md](references/advanced-features.md)
119- AutoSize functionality with EnableAutoSize property
120- Dynamic height adjustment based on content
121- Layout considerations for auto-sizing editors
122- Liquid Glass Effect with EnableLiquidGlassEffect (iOS/macOS)
123- Platform requirements (.NET 10, iOS/macOS 26+)
124- Cupertino theme integration and transparent backgrounds
125- Customizing toolbar and editor corner radius
126- Theme keys for visual customization
127- Combining advanced features for modern UI
128