Logo : Syncfusion Maui Rich Text Editor

Syncfusion Maui Rich Text Editor

Organisation
syncfusion
syncfusion-maui-rich-text-editor

Implements Syncfusion .NET MAUI Rich Text Editor (SfRichTextEditor) for WYSIWYG text editing with formatting, images, tables, hyperlinks, and code blocks. Use when building rich text editors, document editors, email composers, blog post editors, or messaging apps with formatting. Covers text styling, toolbar formatting, toolbar grouping with IsGrouped overlay menus, text transformation (UPPERCASE/lowercase), block-schema binding (TValue="Schema"), images, tables, hyperlinks, code blocks, HTML output, and the public GetText() method for plain-text extraction.

Présentation

Éditeursyncfusion
Dépôtmaui-ui-components-skills
Nom de la compétencesyncfusion-maui-rich-text-editor
Étoiles
61
Forks
1
Fichiers inclus
12
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont rédigées en Markdown et non sous forme de code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Fichiers inclus : 12

    Des scripts, des gabarits et des références que le modèle peut consulter pendant son travail. Les fichiers sont en lecture seule et ne sont jamais exécutés.

  • Open source

    Publiée par syncfusion sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Syncfusion Maui Rich Text Editor dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Copiez l’URL ci-dessous, qui pointe vers le dossier de la compétence, puis collez-la et confirmez.
    https://github.com/syncfusion/maui-ui-components-skills/tree/master/skills/syncfusion-maui-rich-text-editor
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter une compétence → Via une URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/syncfusion/maui-ui-components-skills.git /tmp/maui-ui-components-skills
mkdir -p .claude/skills
cp -r /tmp/maui-ui-components-skills/skills/syncfusion-maui-rich-text-editor .claude/skills/syncfusion-maui-rich-text-editor
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Syncfusion Maui Rich Text Editor dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Syncfusion Maui Rich Text Editor dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, la compétence Syncfusion Maui Rich Text Editor n’est pas liée au modèle pour lequel elle a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

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, hyperlinks, and code blocks embedded in content
  • Embed formatted code snippets in technical documentation, blog posts, or developer-focused apps
  • Customize toolbar items and appearance for specific editing scenarios
  • Group toolbar items into context-aware overlay menus for mobile-first editing experiences
  • Apply text case transformations (UPPERCASE, lowercase) to user selections or programmatically via the Uppercase() and Lowercase() methods
  • Bind the editor to a typed block-schema model (TValue="Schema") instead of HTML for structured document workflows
  • Handle formatted text programmatically with methods for bold, italic, alignment, colors, etc.
  • Manage user interactions through events (text changes, hyperlink clicks, format changes)
  • Read plain text from the editor programmatically using the Task<string> GetText() method for character/word counts, search indexing, copy-to-clipboard, text-to-speech, SMS export, translation, and spell check
  • 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
  • Code Block Support - Insert formatted code snippets that preserve structure and readability
  • 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)

Public API Contract

  • The Value property is the only public content surface. It is typed as object, so always cast it to the expected runtime type when reading:
    • HTML mode (TValue="HTML"): cast to string
    • Schema mode (TValue="Schema"): cast to ObservableCollection<BlockNode>
  • For plain-text reads, use the public method Task<string> GetText() on SfRichTextEditor instead of stripping HTML yourself. It always returns the awaited plain-text content for both HTML and Schema modes.
  • The legacy Text and HtmlText properties are internal and must not be used in application code.
  • The legacy DefaultTextColor, DefaultFontSize, and DefaultFontFamily properties are obsolete; use per-paragraph or inline formatting instead.

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

Toolbar Grouping

📄 Read: references/toolbar-grouping.md

  • Enabling the grouped (overlay) toolbar with the IsGrouped property
  • Mapping each ToolbarItems entry to a context-aware overlay group
  • Mobile-first UX for touch devices (Android, iOS)
  • Choosing a focused set of items for grouped layouts
  • Pairing IsGrouped with ToolbarPosition and ToolbarSettings
  • Platform conditionals to switch between grouped and inline toolbars
  • Troubleshooting empty or overly crowded overlay menus

Text Transformation

📄 Read: references/text-transformation.md

  • Using the TextTransform toolbar item from RichTextToolbarOptions
  • Selection-based case-change actions (UPPERCASE, lowercase, etc.)
  • Adding TextTransform to a custom toolbar with Separator grouping
  • Programmatic Uppercase() and Lowercase() methods for transforming the current selection
  • Combining text transformation with bold, italic, underline, and other character formatting
  • Using TextTransform with the grouped (overlay) toolbar
  • Real-world use cases: messaging apps, comments, blog and CMS editors
  • Troubleshooting and best practices for discoverability

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 through the Value property with TValue="HTML"
  • Setting HTML formatted text through the Value property with TValue="HTML"
  • 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

Schema Block

📄 Read: references/schema-block.md

  • Switching the content model with TValue="Schema" and RichTextEditorValueType.Schema
  • Binding an ObservableCollection to the Value property
  • Supported node types: ParagraphNode, HeadingNode, TextNode, BulletListNode, OrderedListNode, ListItemNode, ImageNode, CodeBlockNode, and LinkMark
  • Two-way binding so editor edits update the bound collection
  • Composing block nodes for headings, lists, links, images, and code blocks
  • Loading and saving structured documents through the block schema
  • Pairing the schema model with the toolbar and other editor features
  • Troubleshooting empty editors, ignored edits, and migration from HTML

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

Code Blocks

📄 Read: references/code-blocks.md

  • Enabling code blocks using the CodeBlock toolbar item
  • Customizing code block languages with CodeBlockLanguages property
  • XAML and C# setup with RichTextToolbarItem and RichTextToolbarOptions.CodeBlock
  • Configuring language dropdown (replacing or appending custom languages)
  • Combining code blocks with other formatting tools using Separator items
  • Use cases for technical documentation, blogging, and developer-centric tools
  • Best practices for toolbar placement and HTML content round-tripping

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
  • Public Task<string> GetText() method for plain-text extraction (use it instead of stripping HTML from Value)

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

Fichiers inclus

Le modèle lit ces fichiers à la demande lorsque la compétence est chargée. Ils sont accessibles en lecture et ne sont jamais exécutés.

Foire aux questions

À quoi sert la compétence IA Syncfusion Maui Rich Text Editor ?

Implements Syncfusion .NET MAUI Rich Text Editor (SfRichTextEditor) for WYSIWYG text editing with formatting, images, tables, hyperlinks, and code blocks. Use when building rich text editors, document editors, email composers, blog post editors, or messaging apps with formatting. Covers text styling, toolbar formatting, toolbar grouping with IsGrouped overlay menus, text transformation (UPPERCASE/lowercase), block-schema binding (TValue="Schema"), images, tables, hyperlinks, code blocks, HTML output, and the public GetText() method for plain-text extraction.

Pourquoi utiliser Syncfusion Maui Rich Text Editor sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Syncfusion Maui Rich Text Editor se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Syncfusion Maui Rich Text Editor dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/syncfusion/maui-ui-components-skills/tree/master/skills/syncfusion-maui-rich-text-editor. TypingMind lit le fichier SKILL.md, regroupe les fichiers associés et installe le tout sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Syncfusion Maui Rich Text Editor ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Syncfusion Maui Rich Text Editor ?

Autant que vous le souhaitez. Vous pouvez utiliser Syncfusion Maui Rich Text Editor avec tout modèle qui prend en charge les compétences : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Syncfusion Maui Rich Text Editor est-elle gratuite ?

Cette compétence est publiée sur GitHub par syncfusion. Consultez le dépôt pour connaître les conditions de licence. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, gabarits ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace de travail IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇