شعار Syncfusion Maui Rich Text Editor

Syncfusion Maui Rich Text Editor

مؤسسة
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.

نظرة عامة

الناشرsyncfusion
المستودعmaui-ui-components-skills
اسم المهارةsyncfusion-maui-rich-text-editor
النجوم
61
التفريعات
1
الملفات المرفقة
12
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 12

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها syncfusion على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Syncfusion Maui Rich Text Editor في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/syncfusion/maui-ui-components-skills/tree/master/skills/syncfusion-maui-rich-text-editor
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

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
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Syncfusion Maui Rich Text Editor في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Syncfusion Maui Rich Text Editor تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Syncfusion Maui Rich Text Editor بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

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

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي 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.

لماذا تستخدم Syncfusion Maui Rich Text Editor على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Syncfusion Maui Rich Text Editor عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Syncfusion Maui Rich Text Editor في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/syncfusion/maui-ui-components-skills/tree/master/skills/syncfusion-maui-rich-text-editor. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Syncfusion Maui Rich Text Editor؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Syncfusion Maui Rich Text Editor؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Syncfusion Maui Rich Text Editor معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Syncfusion Maui Rich Text Editor مجانية؟

نشرها syncfusion على GitHub. راجع المستودع للاطلاع على شروط الترخيص. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇