{
  "$schema": "https://ai.syncfusion.com/schema/registry-item.json",
  "name": "rich-text-editor-email-formatting",
  "framework": "maui",
  "type": "registry:component",
  "component": "RichTextEditor",
  "variant": "email-formatting",
  "dependencies": [
    "Syncfusion.Maui.RichTextEditor"
  ],
  "description": "Rich text editor composes email content with address headers and formatting toolbar.",
  "meta": {
    "essentialStudioRelease": "2026 Volume 3 (v35.1.37)",
    "license": "commercial-or-community",
    "licenseNote": "The Syncfusion package is licensed. The composition in this file is source you own and edit. See https://ai.syncfusion.com/licensing.md",
    "requiresLicenseKey": true,
    "requiresServerEndpoint": false,
    "platformIndex": "https://ai.syncfusion.com/maui/llms.txt",
    "skillPack": "syncfusion/maui-ui-components-skills",
    "docs": "https://ai.syncfusion.com/gallery/maui/rich-text-editor-email-formatting.md"
  },
  "files": [
    {
      "target": "src/components/rich-text-editor-email-formatting/RichTextEditor.xaml",
      "content": "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n<ContentPage xmlns=\"http://schemas.microsoft.com/dotnet/2021/maui\"\n             xmlns:x=\"http://schemas.microsoft.com/winfx/2009/xaml\"\n             xmlns:rte=\"clr-namespace:Syncfusion.Maui.RichTextEditor;assembly=Syncfusion.Maui.RichTextEditor\"\n             xmlns:model=\"clr-namespace:MAUI.Controls.RichTextEditor.EmailFormatting\"\n             x:Class=\"MAUI.Controls.RichTextEditor.EmailFormatting.RichTextEditorView\"\n             x:DataType=\"model:RichTextEditorViewModel\"\n             Title=\"Rich Text Editor - Email Formatting\">\n    <Grid Padding=\"12\" RowDefinitions=\"Auto,*,Auto\" RowSpacing=\"10\">\n        <Border Padding=\"12\" Stroke=\"LightGrey\" StrokeShape=\"RoundRectangle 12\" Grid.Row=\"0\">\n            <Grid ColumnDefinitions=\"Auto,*\" RowDefinitions=\"Auto,Auto,Auto\" ColumnSpacing=\"12\" RowSpacing=\"8\">\n                <Label Text=\"To\" VerticalOptions=\"Center\" />\n                <Entry Grid.Column=\"1\" Text=\"{Binding Recipient}\" Placeholder=\"Recipient email\" />\n                <Label Grid.Row=\"1\" Text=\"From\" VerticalOptions=\"Center\" />\n                <Entry Grid.Row=\"1\" Grid.Column=\"1\" Text=\"{Binding Sender}\" Placeholder=\"Your email\" />\n                <Label Grid.Row=\"2\" Text=\"Subject\" VerticalOptions=\"Center\" />\n                <Entry Grid.Row=\"2\" Grid.Column=\"1\" Text=\"{Binding Subject}\" Placeholder=\"Subject\" />\n            </Grid>\n        </Border>\n        <Border Grid.Row=\"1\" Stroke=\"LightGrey\" StrokeShape=\"RoundRectangle 12\" Padding=\"0\">\n            <rte:SfRichTextEditor TValue=\"HTML\" Value=\"{Binding MailContent, Mode=TwoWay}\" Placeholder=\"Compose your message...\" ToolbarPosition=\"Bottom\" VerticalOptions=\"Fill\">\n                <rte:SfRichTextEditor.ToolbarItems>\n                    <rte:RichTextToolbarItem Type=\"Bold\" />\n                    <rte:RichTextToolbarItem Type=\"Italic\" />\n                    <rte:RichTextToolbarItem Type=\"Underline\" />\n                    <rte:RichTextToolbarItem Type=\"Separator\" />\n                    <rte:RichTextToolbarItem Type=\"FontFamily\" />\n                    <rte:RichTextToolbarItem Type=\"FontSize\" />\n                    <rte:RichTextToolbarItem Type=\"Separator\" />\n                    <rte:RichTextToolbarItem Type=\"BulletList\" />\n                    <rte:RichTextToolbarItem Type=\"NumberList\" />\n                    <rte:RichTextToolbarItem Type=\"Alignment\" />\n                    <rte:RichTextToolbarItem Type=\"Hyperlink\" />\n                    <rte:RichTextToolbarItem Type=\"Image\" />\n                </rte:SfRichTextEditor.ToolbarItems>\n            </rte:SfRichTextEditor>\n        </Border>\n        <Grid Grid.Row=\"2\" ColumnDefinitions=\"*,Auto,Auto\" ColumnSpacing=\"8\">\n            <Label Text=\"{Binding StatusMessage}\" VerticalTextAlignment=\"Center\" Opacity=\"0.75\" />\n            <Button Grid.Column=\"1\" Text=\"Discard\" Command=\"{Binding DiscardCommand}\" />\n            <Button Grid.Column=\"2\" Text=\"Send\" Command=\"{Binding SendCommand}\" />\n        </Grid>\n    </Grid>\n</ContentPage>\n"
    },
    {
      "target": "src/components/rich-text-editor-email-formatting/RichTextEditor.xaml.cs",
      "content": "namespace MAUI.Controls.RichTextEditor.EmailFormatting\n{\n    public partial class RichTextEditorView : ContentPage\n    {\n        public RichTextEditorView(RichTextEditorViewModel viewModel)\n        {\n            InitializeComponent();\n            BindingContext = viewModel;\n        }\n    }\n}\n"
    }
  ]
}