{
  "$schema": "https://ai.syncfusion.com/schema/registry-item.json",
  "name": "rich-text-editor-file-browser",
  "framework": "aspnet-mvc",
  "type": "registry:component",
  "component": "RichTextEditor",
  "variant": "file-browser",
  "dependencies": [
    "Syncfusion.AspNetMvc.RichTextEditor"
  ],
  "description": "Rich text editor with a file browser for selecting and inserting images from server storage.",
  "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": true,
    "platformIndex": "https://ai.syncfusion.com/aspnet-mvc/llms.txt",
    "skillPack": "syncfusion/aspnetmvc-ui-components-skills",
    "docs": "https://ai.syncfusion.com/gallery/aspnet-mvc/rich-text-editor-file-browser.md"
  },
  "files": [
    {
      "target": "src/components/rich-text-editor-file-browser/RichTextEditor.cshtml",
      "content": "@using Syncfusion.EJ2\n\n@section ControlsSection{\n   <div class=\"control-section\">\n        <div class=\"content-wrapper\" id=\"file-browser-sample\">\n            @Html.EJS().RichTextEditor(\"fileBrowser\").ToolbarSettings(e => e.Items((object)ViewData[\"Items\"])).FileManagerSettings(e => { e.Enable(true); e.AjaxSettings((object)ViewData[\"AjaxSettings\"]); }).ContentTemplate(@<div><p>Rich Text Editor allows inserting images from online sources as well as the local computers where you want to insert the image in your content.</p><p><b>Get started Quick Toolbar to click on the image</b></p><p>It is possible to add custom style on the selected image inside the RichTextEditor through the quick toolbar.</p><img alt='Logo' style='width: 300px; height: 300px; transform: rotate(0deg);' src=\"@Url.Content(\"~/Content/RichTextEditor/images/RTEImage-Feather.png\")\" /></div>).Render()\n        </div>\n    </div>\n}"
    },
    {
      "target": "src/components/rich-text-editor-file-browser/RichTextEditorController.cs",
      "content": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing System.Web.Mvc;\nusing EJ2MVCSampleBrowser.Models;\n\nnamespace EJ2MVCSampleBrowser.Controllers\n{\n    public partial class RichTextEditorController : Controller\n    {\n        public ActionResult FileBrowser()\n        {\n            string hostUrl = \"https://services.syncfusion.com/aspnet/production/\";\n            ViewData[\"Items\"] = new[] { \"FileManager\", \"Image\" };\n            ViewData[\"AjaxSettings\"] = new\n            {\n                url = hostUrl + \"api/RichTextEditor/FileOperations\",\n                getImageUrl = hostUrl + \"api/RichTextEditor/GetImage\",\n                uploadUrl = hostUrl + \"api/RichTextEditor/Upload\",\n                downloadUrl = hostUrl + \"api/RichTextEditor/Download\"\n            };\n            return View(\"~/Views/Home/rich-text-editor/file-browser/RichTextEditor.cshtml\");\n        }\n    }\n}\n"
    }
  ]
}