{
  "$schema": "https://ai.syncfusion.com/schema/registry-item.json",
  "name": "rich-text-editor-file-browser",
  "framework": "javascript",
  "type": "registry:component",
  "component": "RichTextEditor",
  "variant": "file-browser",
  "dependencies": [
    "@syncfusion/ej2-richtexteditor"
  ],
  "description": "Rich text editor sample with file browser insertion and media management.",
  "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/javascript/llms.txt",
    "skillPack": "syncfusion/javascript-ui-components-skills",
    "docs": "https://ai.syncfusion.com/gallery/javascript/rich-text-editor-file-browser.md"
  },
  "files": [
    {
      "target": "src/components/rich-text-editor-file-browser/rich-text-editor.html",
      "content": "<div class=\"control-section\">\n    <div class=\"sample-container\">\n        <div class=\"default-section\">\n            <div id=\"container\">\n                <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>\n                <p><b>Get started Quick Toolbar to click on the image</b></p>\n                <p>It is possible to add custom style on the selected image inside the RichTextEditor through the quick toolbar.</p>\n                <img id='rteImageID' style=\"width:300px; height:300px;transform: rotate(0deg);\" alt=\"Logo\" src=\"https://ej2.syncfusion.com/demos/src/rich-text-editor/images/RTEImage-Feather.png\" />\n            </div>\n        </div>\n    </div>\n</div>\n"
    },
    {
      "target": "src/components/rich-text-editor-file-browser/rich-text-editor.ts",
      "content": "import { RichTextEditor, Toolbar, Image, HtmlEditor, QuickToolbar, FileManager, PasteCleanup, Table, Video, Audio, ClipBoardCleanup, AutoFormat } from '@syncfusion/ej2-richtexteditor';\nRichTextEditor.Inject(Toolbar, Image, HtmlEditor, QuickToolbar, FileManager, PasteCleanup, Table, Video, Audio, ClipBoardCleanup, AutoFormat);\n\nexport function initRichTextEditorFileBrowser(): void {\n    let hostUrl: string = 'https://services.syncfusion.com/js/production/';\n\n    let defaultRTE: RichTextEditor = new RichTextEditor({\n        toolbarSettings: {\n            items: ['FileManager', 'Image']\n        },\n        fileManagerSettings: {\n            enable: true,\n            ajaxSettings: {\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        }\n    });\n    defaultRTE.appendTo('#container');\n}\n"
    }
  ]
}