Feature Request: Rich Text Editor for .NET MAUI
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 23.3k
- Forks
- 2k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 296
Description
### Description
Summary
.NET MAUI currently lacks a built-in rich text editor that allows formatting, bullet points, and structured text input.
Adding a rich text-capable Editor would significantly improve app development for scenarios like note-taking, documentation, and messaging.
Why This Feature is Valuable
• Enhanced User Experience: Users can format their notes, lists, or messages more effectively.
• Improved Productivity Apps: Helps build better document-editing, journaling, or communication apps.
• Consistency Across Platforms: A built-in solution would ensure consistent formatting behavior across Android, iOS, Windows, and Mac.
Suggested Enhancements
• Support for Bold, Italics, and Underline
• Bullet points and numbered lists
• Markdown or rich-text parsing
• Customizable font styles and sizes
• Platform-native rendering for performance optimization
Potential Implementation
This feature could be an enhancement to the existing Editor control or provided as a new dedicated component in Microsoft.Maui.Controls.
Leveraging open standards like Markdown could make formatting seamless.
Community Interest
Many developers working on note-taking or messaging apps would benefit from this.
### Public API Changes
Public API Changes
To introduce rich text editing capabilities in .NET MAUI, the following changes could be considered:
1 - New Control: RichEditor (or Enhance Editor)- Introduce a new control: Microsoft.Maui.Controls.RichEditor
- Alternatively, extend the existing Editor control to support formatting.
2 - New Properties for Formattingpublic class RichEditor : Editor
{
public bool SupportsFormatting { get; set; } // Enables rich text editing
public bool SupportsBulletPoints { get; set; } // Enables lists
public bool SupportsMarkdown { get; set; } // Optional Markdown support
}
- SupportsFormatting → Enables bold, italics, underline.
- SupportsBulletPoints → Allows structured lists.
- SupportsMarkdown → Parses Markdown for simple formatting.
3 - New Methods for Text Manipulationpublic void ApplyBold();
public void ApplyItalic();
public void ApplyUnderline();
public void InsertBulletPoint();
- These methods would allow programmatic control over text styling.
4 - Potential Platform-Specific Implementations- Android → Leverage SpannableString for formatting.
- iOS → Use NSAttributedString for styled text.
- Windows/macOS → Utilize RichTextBlock or similar.
This would make .NET MAUI more flexible for developers building note-taking, document editing, or messaging apps!
### Intended Use-Case
Adding a rich text-capable Editor would significantly improve app development for scenarios like note-taking, documentation, and messaging.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue points to the existing Editor control and Microsoft.Maui.Controls, with platform-specific implementations for Android, iOS, Windows, and macOS. First compare the current Editor API and platform behavior, then clarify whether this should be a new RichEditor or an Editor enhancement and which formatting features are in scope. Done requires an agreed public API and consistent support for the selected formatting and list features across the named platforms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop-dev, frontend, mobile-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100