{"_id":"@daneshnaik/rich-text-editor","_rev":"6-a4e007754f7ebd552defced6202a64a8","name":"@daneshnaik/rich-text-editor","dist-tags":{"latest":"1.0.5"},"versions":{"1.0.0":{"name":"@daneshnaik/rich-text-editor","version":"1.0.0","keywords":["react","rich-text-editor","wysiwyg","editor","text-editor","contenteditable","react-component","formatting","table-editor","image-editor"],"author":{"name":"Danesh Naik"},"license":"MIT","_id":"@daneshnaik/rich-text-editor@1.0.0","maintainers":[{"name":"daneshnaik","email":"naikdanesh2@gmail.com"}],"homepage":"https://github.com/danu20002/extmaneditor#readme","bugs":{"url":"https://github.com/danu20002/extmaneditor/issues"},"dist":{"shasum":"89ad1f80c3ecbbdba82e298f24ce3f8dd620e738","tarball":"https://registry.npmjs.org/@daneshnaik/rich-text-editor/-/rich-text-editor-1.0.0.tgz","fileCount":7,"integrity":"sha512-XbhyAt453zB99YIaolnJYqFBy5xjIR1Ll7eKDmbsdnOMQRb0ixhBvBQuEeL0T5U61M25lH8Lk8B/CDIhNlduBQ==","signatures":[{"sig":"MEQCIAiB8rk/HnAigaTvM0aC/3LKv1aA9TiPetXX2F2o2HTKAiA9aKIxVinImHk6DrN8aGPdCLAEvZuzdFgi2BrfdfDM3A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":145748},"main":"./dist/rich-text-editor.umd.cjs","type":"module","module":"./dist/rich-text-editor.js","exports":{".":{"import":"./dist/rich-text-editor.js","require":"./dist/rich-text-editor.umd.cjs"},"./dist/style.css":"./dist/style.css"},"gitHead":"9f9722db36165ce7f8decfb7b602ef99d2395680","scripts":{"dev":"vite","lint":"eslint .","build":"vite build","preview":"vite preview","prepublishOnly":"npm run build"},"_npmUser":{"name":"daneshnaik","email":"naikdanesh2@gmail.com"},"repository":{"url":"git+https://github.com/danu20002/extmaneditor.git","type":"git"},"_npmVersion":"11.4.2","description":"A powerful and feature-rich WYSIWYG rich text editor for React with table editing, image handling, and extensive formatting options","directories":{},"_nodeVersion":"22.14.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^7.2.4","react":"^19.2.0","eslint":"^9.39.1","globals":"^16.5.0","react-dom":"^19.2.0","@eslint/js":"^9.39.1","@types/react":"^19.2.5","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^5.1.1","eslint-plugin-react-hooks":"^7.0.1","eslint-plugin-react-refresh":"^0.4.24"},"peerDependencies":{"react":"^18.0.0 || ^19.0.0","react-dom":"^18.0.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/rich-text-editor_1.0.0_1768036147081_0.5145316857559668","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@daneshnaik/rich-text-editor","version":"1.0.1","keywords":["react","rich-text-editor","wysiwyg","editor","text-editor","contenteditable","react-component","formatting","table-editor","image-editor"],"author":{"name":"Danesh Naik"},"license":"MIT","_id":"@daneshnaik/rich-text-editor@1.0.1","maintainers":[{"name":"daneshnaik","email":"naikdanesh2@gmail.com"}],"homepage":"https://github.com/danu20002/extmaneditor#readme","bugs":{"url":"https://github.com/danu20002/extmaneditor/issues"},"dist":{"shasum":"85d6ca50ed8c984fc888f86a9973d83dfbfe0b8c","tarball":"https://registry.npmjs.org/@daneshnaik/rich-text-editor/-/rich-text-editor-1.0.1.tgz","fileCount":7,"integrity":"sha512-FopVvQmL+VOIBojhUuwtvVRqfJ2NvNkG5fBqC1ViVbV2GR7kHvI9wRkzjL7e1EJJDIBP4w5cZQ4rqpv/UaDbnw==","signatures":[{"sig":"MEYCIQDsUhLsmJT/ch8R74ruaueX6Ann2h4b9DlhA7M2OZayKAIhAJudSFnjrDVCbWGn+otR3US/n08mAcANS/WWFmYWj4bs","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":145905},"main":"./dist/rich-text-editor.umd.cjs","type":"module","module":"./dist/rich-text-editor.js","exports":{".":{"import":"./dist/rich-text-editor.js","require":"./dist/rich-text-editor.umd.cjs"},"./dist/style.css":"./dist/style.css"},"gitHead":"9f9722db36165ce7f8decfb7b602ef99d2395680","scripts":{"dev":"vite","lint":"eslint .","build":"vite build","preview":"vite preview","prepublishOnly":"npm run build"},"_npmUser":{"name":"daneshnaik","email":"naikdanesh2@gmail.com"},"repository":{"url":"git+https://github.com/danu20002/extmaneditor.git","type":"git"},"_npmVersion":"11.4.2","description":"A powerful and feature-rich WYSIWYG rich text editor for React with table editing, image handling, and extensive formatting options","directories":{},"_nodeVersion":"22.14.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^7.2.4","react":"^19.2.0","eslint":"^9.39.1","globals":"^16.5.0","react-dom":"^19.2.0","@eslint/js":"^9.39.1","@types/react":"^19.2.5","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^5.1.1","eslint-plugin-react-hooks":"^7.0.1","eslint-plugin-react-refresh":"^0.4.24"},"peerDependencies":{"react":"^18.0.0 || ^19.0.0","react-dom":"^18.0.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/rich-text-editor_1.0.1_1768037565347_0.270939947306964","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@daneshnaik/rich-text-editor","version":"1.0.2","keywords":["react","rich-text-editor","wysiwyg","editor","text-editor","contenteditable","react-component","formatting","table-editor","image-editor"],"author":{"name":"Danesh Naik"},"license":"MIT","_id":"@daneshnaik/rich-text-editor@1.0.2","maintainers":[{"name":"daneshnaik","email":"naikdanesh2@gmail.com"}],"homepage":"https://github.com/danu20002/extmaneditor#readme","bugs":{"url":"https://github.com/danu20002/extmaneditor/issues"},"dist":{"shasum":"7485e12bb01067ecfedb0e0f3c879faeccae446c","tarball":"https://registry.npmjs.org/@daneshnaik/rich-text-editor/-/rich-text-editor-1.0.2.tgz","fileCount":7,"integrity":"sha512-wFeSaC8QHW+SHhecUInTB6l+Fow9ZXSuwBaRqRqxd6GGW1KENOz3JhZ9on9IMmJs/Qsfvpi6ucGMycY2rTdDBQ==","signatures":[{"sig":"MEUCIQCK/+CXB3AtEJ3ICoCnB/23z2qegP9LR6MnrZHanV7O9AIgcAfVCB6UrRdvTUF9aE++KiG+QsHhLq/TPq+Z4kGe6+8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":144853},"main":"./dist/rich-text-editor.umd.cjs","type":"module","module":"./dist/rich-text-editor.js","exports":{".":{"import":"./dist/rich-text-editor.js","require":"./dist/rich-text-editor.umd.cjs"},"./dist/style.css":"./dist/style.css"},"gitHead":"9f9722db36165ce7f8decfb7b602ef99d2395680","scripts":{"dev":"vite","lint":"eslint .","build":"vite build","preview":"vite preview","prepublishOnly":"npm run build"},"_npmUser":{"name":"daneshnaik","email":"naikdanesh2@gmail.com"},"repository":{"url":"git+https://github.com/danu20002/extmaneditor.git","type":"git"},"_npmVersion":"11.4.2","description":"A powerful and feature-rich WYSIWYG rich text editor for React with table editing, image handling, and extensive formatting options","directories":{},"_nodeVersion":"22.14.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^7.2.4","react":"^19.2.0","eslint":"^9.39.1","globals":"^16.5.0","react-dom":"^19.2.0","@eslint/js":"^9.39.1","@types/react":"^19.2.5","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^5.1.1","eslint-plugin-react-hooks":"^7.0.1","eslint-plugin-react-refresh":"^0.4.24"},"peerDependencies":{"react":"^18.0.0 || ^19.0.0","react-dom":"^18.0.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/rich-text-editor_1.0.2_1768038974517_0.4350249224185785","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@daneshnaik/rich-text-editor","version":"1.0.3","keywords":["react","rich-text-editor","wysiwyg","editor","text-editor","contenteditable","react-component","formatting","table-editor","image-editor"],"author":{"name":"Danesh Naik"},"license":"MIT","_id":"@daneshnaik/rich-text-editor@1.0.3","maintainers":[{"name":"daneshnaik","email":"naikdanesh2@gmail.com"}],"homepage":"https://github.com/danu20002/extmaneditor#readme","bugs":{"url":"https://github.com/danu20002/extmaneditor/issues"},"dist":{"shasum":"715b085081ed223df97636049bee341c660a76cf","tarball":"https://registry.npmjs.org/@daneshnaik/rich-text-editor/-/rich-text-editor-1.0.3.tgz","fileCount":7,"integrity":"sha512-GbVWxitAVw1Mdxj45ooT5UAZ332YV4FUrk2obEuRT4msT7PvoN99Ii7YzoZirUC5J6v+hf7Gq0GP6tP5MGJ1sw==","signatures":[{"sig":"MEYCIQCfL2M1VDPRrHC+dD68rLsyo1hnRcTzYgwxLBdxM7O9NQIhAP47kkD2FMcLqTVJkfvg8AF5VzOzvkrJz+wHJYH2N2Ts","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":146487},"main":"./dist/rich-text-editor.umd.cjs","type":"module","module":"./dist/rich-text-editor.js","exports":{".":{"import":"./dist/rich-text-editor.js","require":"./dist/rich-text-editor.umd.cjs"},"./dist/style.css":"./dist/style.css"},"gitHead":"9f9722db36165ce7f8decfb7b602ef99d2395680","scripts":{"dev":"vite","lint":"eslint .","build":"vite build","preview":"vite preview","prepublishOnly":"npm run build"},"_npmUser":{"name":"daneshnaik","email":"naikdanesh2@gmail.com"},"repository":{"url":"git+https://github.com/danu20002/extmaneditor.git","type":"git"},"_npmVersion":"11.4.2","description":"A powerful and feature-rich WYSIWYG rich text editor for React with table editing, image handling, and extensive formatting options","directories":{},"_nodeVersion":"22.14.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^7.2.4","react":"^19.2.0","eslint":"^9.39.1","globals":"^16.5.0","react-dom":"^19.2.0","@eslint/js":"^9.39.1","@types/react":"^19.2.5","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^5.1.1","eslint-plugin-react-hooks":"^7.0.1","eslint-plugin-react-refresh":"^0.4.24"},"peerDependencies":{"react":"^18.0.0 || ^19.0.0","react-dom":"^18.0.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/rich-text-editor_1.0.3_1768140694474_0.7301920373681217","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@daneshnaik/rich-text-editor","version":"1.0.4","keywords":["react","rich-text-editor","wysiwyg","editor","text-editor","contenteditable","react-component","formatting","table-editor","image-editor"],"author":{"name":"Danesh Naik"},"license":"MIT","_id":"@daneshnaik/rich-text-editor@1.0.4","maintainers":[{"name":"daneshnaik","email":"naikdanesh2@gmail.com"}],"homepage":"https://github.com/danu20002/extmaneditor#readme","bugs":{"url":"https://github.com/danu20002/extmaneditor/issues"},"dist":{"shasum":"8d224f37f6c79c6912a24bc7f85ba09f21b2beb2","tarball":"https://registry.npmjs.org/@daneshnaik/rich-text-editor/-/rich-text-editor-1.0.4.tgz","fileCount":7,"integrity":"sha512-WmEM2yc0rVNL6K1w16iq0gK4DCpdAKdDP7AyN/yX+7aWs29fqH5nKP5SHVTHZVqXwmq7ANHnqfmuvIIcZ4LFCQ==","signatures":[{"sig":"MEQCIG3KlbQC0d6FzpKNUA4KY2g3jggMWiXFluQqO5v8LorlAiAw5Dx7LVvxYdUKaoQElqvmRArAFxyqvz8Hh9PHM50j/A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":155636},"main":"./dist/rich-text-editor.umd.cjs","type":"module","module":"./dist/rich-text-editor.js","exports":{".":{"import":"./dist/rich-text-editor.js","require":"./dist/rich-text-editor.umd.cjs"},"./dist/style.css":"./dist/style.css"},"gitHead":"9f9722db36165ce7f8decfb7b602ef99d2395680","scripts":{"dev":"vite","lint":"eslint .","build":"vite build","preview":"vite preview","prepublishOnly":"npm run build"},"_npmUser":{"name":"daneshnaik","email":"naikdanesh2@gmail.com"},"repository":{"url":"git+https://github.com/danu20002/extmaneditor.git","type":"git"},"_npmVersion":"11.4.2","description":"A powerful and feature-rich WYSIWYG rich text editor for React with table editing, image handling, and extensive formatting options","directories":{},"_nodeVersion":"22.14.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^7.2.4","react":"^19.2.0","eslint":"^9.39.1","globals":"^16.5.0","react-dom":"^19.2.0","@eslint/js":"^9.39.1","@types/react":"^19.2.5","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^5.1.1","eslint-plugin-react-hooks":"^7.0.1","eslint-plugin-react-refresh":"^0.4.24"},"peerDependencies":{"react":"^18.0.0 || ^19.0.0","react-dom":"^18.0.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/rich-text-editor_1.0.4_1768141607544_0.698552028112033","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@daneshnaik/rich-text-editor","version":"1.0.5","description":"A powerful and feature-rich WYSIWYG rich text editor for React with table editing, image handling, and extensive formatting options","type":"module","main":"./dist/rich-text-editor.umd.cjs","module":"./dist/rich-text-editor.js","exports":{".":{"import":"./dist/rich-text-editor.js","require":"./dist/rich-text-editor.umd.cjs"},"./dist/style.css":"./dist/style.css"},"scripts":{"dev":"vite","build":"vite build","lint":"eslint .","preview":"vite preview","prepublishOnly":"npm run build"},"keywords":["react","rich-text-editor","wysiwyg","editor","text-editor","contenteditable","react-component","formatting","table-editor","image-editor"],"author":{"name":"Danesh Naik"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/danu20002/extmaneditor.git"},"bugs":{"url":"https://github.com/danu20002/extmaneditor/issues"},"homepage":"https://github.com/danu20002/extmaneditor#readme","peerDependencies":{"react":"^18.0.0 || ^19.0.0","react-dom":"^18.0.0 || ^19.0.0"},"devDependencies":{"@eslint/js":"^9.39.1","@types/react":"^19.2.5","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^5.1.1","eslint":"^9.39.1","eslint-plugin-react-hooks":"^7.0.1","eslint-plugin-react-refresh":"^0.4.24","globals":"^16.5.0","react":"^19.2.0","react-dom":"^19.2.0","vite":"^7.2.4"},"_id":"@daneshnaik/rich-text-editor@1.0.5","gitHead":"9f9722db36165ce7f8decfb7b602ef99d2395680","_nodeVersion":"22.14.0","_npmVersion":"11.4.2","dist":{"integrity":"sha512-c62QNNx0cwYOnUYnqAEqiyjuQODAAgWRyKDWJY0Eb6mx4BrSBlyxnyQqAge0x2RQRNOnwcvSysCPYPnbQxefZw==","shasum":"fb84b12dc0a2af2192160ff764cf630ab1d2055d","tarball":"https://registry.npmjs.org/@daneshnaik/rich-text-editor/-/rich-text-editor-1.0.5.tgz","fileCount":7,"unpackedSize":156049,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC2goIbO2MZfvQdpgtSDRNiOAKnvLNHc9VAlVqUSI/BcAIhALb+7420ogvQ63qs+bOGG8ksI8ZdBLVFDREOXOd9oufO"}]},"_npmUser":{"name":"daneshnaik","email":"naikdanesh2@gmail.com"},"directories":{},"maintainers":[{"name":"daneshnaik","email":"naikdanesh2@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/rich-text-editor_1.0.5_1768142079243_0.5936961735786483"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-10T09:09:06.953Z","modified":"2026-01-11T14:34:39.604Z","1.0.0":"2026-01-10T09:09:07.240Z","1.0.1":"2026-01-10T09:32:45.498Z","1.0.2":"2026-01-10T09:56:14.690Z","1.0.3":"2026-01-11T14:11:34.644Z","1.0.4":"2026-01-11T14:26:47.711Z","1.0.5":"2026-01-11T14:34:39.406Z"},"bugs":{"url":"https://github.com/danu20002/extmaneditor/issues"},"author":{"name":"Danesh Naik"},"license":"MIT","homepage":"https://github.com/danu20002/extmaneditor#readme","keywords":["react","rich-text-editor","wysiwyg","editor","text-editor","contenteditable","react-component","formatting","table-editor","image-editor"],"repository":{"type":"git","url":"git+https://github.com/danu20002/extmaneditor.git"},"description":"A powerful and feature-rich WYSIWYG rich text editor for React with table editing, image handling, and extensive formatting options","maintainers":[{"name":"daneshnaik","email":"naikdanesh2@gmail.com"}],"readme":"# Rich Text Editor for React\n\nA powerful and feature-rich WYSIWYG rich text editor component for React applications with extensive formatting options, table editing, and image handling capabilities.\n\n## Features\n\n✨ **Rich Text Formatting**\n- Bold, Italic, Underline, Strikethrough\n- Font family and size selection\n- Text and background colors\n- Headings (H1-H6), Paragraphs, Blockquotes\n- Bullet and numbered lists\n- Text alignment (left, center, right)\n- Indent and outdent\n\n📊 **Advanced Table Editing**\n- Insert tables with custom dimensions\n- Add/delete rows and columns\n- Merge cells (horizontal and vertical)\n- Cell selection and styling\n- Header row support\n- Drag-to-move tables\n- Context menu for table operations\n\n🖼️ **Image Handling**\n- Insert images from URL or upload\n- Drag-to-resize images\n- Alignment controls (left, center, right)\n- Size presets (50%, 75%, 100%)\n- Delete images with controls\n\n🔗 **Link Management**\n- Insert and edit hyperlinks\n- Link preview\n- Recent links suggestion\n- Remove links\n\n🛠️ **Additional Features**\n- Undo/redo functionality\n- Find and replace\n- Code block insertion\n- Horizontal rules\n- Clear formatting\n- HTML source view\n- Import/export HTML\n- Fullscreen mode\n- Print support\n- Multiple page sizes (A4, Letter, Legal)\n\n## Installation\n\n```bash\nnpm install @daneshnaik/rich-text-editor\n```\n\nor with yarn:\n\n```bash\nyarn add @daneshnaik/rich-text-editor\n```\n\nor with pnpm:\n\n```bash\npnpm add @daneshnaik/rich-text-editor\n```\n\n## Usage\n\n```jsx\nimport React from 'react';\nimport { RichTextEditor } from '@daneshnaik/rich-text-editor';\nimport '@daneshnaik/rich-text-editor/dist/style.css';\n\nfunction App() {\n  return (\n    <div className=\"App\">\n      <h1>My Editor</h1>\n      <RichTextEditor />\n    </div>\n  );\n}\n\nexport default App;\n```\n\n### Exporting / Printing (Only toolbar + page)\n\nThe package includes CSS helpers so consumers can print or export only the editor canvas and toolbar (no surrounding app chrome).\n\n- Print: the package defines `@media print` rules that automatically hide other page content and show only `.editor-toolbar` and `.editor-container`.\n- Programmatic export: use the `export-only` helper class on `document.body` to hide everything except the editor, then trigger `window.print()` or your capture routine.\n\nExample button (optional):\n\n```jsx\nimport React from 'react';\nimport ExportButton from './components/ExportButton'; // or from package export when bundled\n\nfunction MyEditorPage() {\n  return (\n    <div>\n      <RichTextEditor />\n      <ExportButton />\n    </div>\n  );\n}\n\nexport default MyEditorPage;\n```\n\nIf you're bundling the library for npm, include the `ExportButton` in your published module exports so consumers can import it directly from the package.\n\nNote about `ExportButton` behavior:\n\n- The provided `ExportButton` now opens a dedicated print window that contains only the editor toolbar and the `.page-card` content. The window is sized to the exact width of the `.page-card` so printed or PDF exports do not include the extra right-side blank area from the host page. This is the recommended way for consumers to get an accurate export of the editor canvas.\n\n### New: sizing & drag-and-drop support\n\n\nThe editor now accepts a few props to allow consuming apps to control the editor canvas size and to support drag-and-drop from the host application.\n\n- `width` (string): set the page width (e.g. `800px` or `100%`).\n- `height` (string): set the minimum page height (e.g. `1123px`).\n- `fullBleed` (boolean, default: `true`): when `true`, removes the side gutters so the page sits edge-to-edge in its container. The editor now defaults to full-bleed so embedding apps receive the editor + toolbar only (no centered page gaps).\n- `onComponentDrop` (function): optional callback called when something is dropped onto the editor. Receives `(info, event)` where `info` contains `{ html, text, files, types }`.\n\nExample usage:\n\n```jsx\nimport React from 'react';\nimport RichTextEditor from '@daneshnaik/rich-text-editor';\nimport ExportButton from '@daneshnaik/rich-text-editor/ExportButton';\nimport '@daneshnaik/rich-text-editor/dist/style.css';\n\nfunction MyEditorPage() {\n  const handleDrop = (info, ev) => {\n    // info.html / info.text / info.files available\n    console.log('dropped', info);\n  };\n\n  return (\n    <div style={{ width: '100%', height: '100vh' }}>\n      <RichTextEditor width=\"100%\" height=\"900px\" fullBleed={true} onComponentDrop={handleDrop} />\n      <ExportButton />\n    </div>\n  );\n}\n\nexport default MyEditorPage;\n```\n\nNotes:\n- If the dropped data contains `text/html`, it will be inserted as HTML at the caret location. Plain text is inserted as text. Image files dropped will be read and inserted as data-URL images.\n- The `fullBleed` mode keeps the editor from centering and removes left/right page gutters; you can also pass an exact `width` to control the page size.\n\n## Requirements\n\n- React 18.0.0 or higher\n- React DOM 18.0.0 or higher\n\n## Browser Support\n\n- Chrome (latest)\n- Firefox (latest)\n- Safari (latest)\n- Edge (latest)\n\n## Styling\n\nThe editor comes with built-in styles. Make sure to import the CSS file:\n\n```jsx\nimport '@daneshnaik/rich-text-editor/dist/style.css';\n```\n\nYou can customize the appearance by overriding the CSS classes in your own stylesheet.\n\n## API\n\nThe `RichTextEditor` component is a controlled component that manages its own state internally.\n\n### Props\n\nCurrently, the component doesn't accept any props and manages its state internally. Future versions may include:\n- `initialContent`: Set initial HTML content\n- `onChange`: Callback for content changes\n- `readOnly`: Make the editor read-only\n- `toolbar`: Customize toolbar buttons\n\n## Development\n\n### Building from source\n\n```bash\n# Clone the repository\ngit clone https://github.com/danu20002/extmaneditor.git\n\n# Install dependencies\nnpm install\n\n# Build the library\nnpm run build\n\n# Run in development mode\nnpm run dev\n```\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nMIT © Danesh Naik\n\n## Support\n\nIf you encounter any issues or have questions, please file an issue on the [GitHub repository](https://github.com/danu20002/extmaneditor/issues).\n\n## Changelog\n\n### 1.0.0 (2026-01-10)\n- Initial release\n- Rich text formatting\n- Table editing\n- Image handling\n- Link management\n- Find and replace\n- Multiple page sizes\n","readmeFilename":"README.md"}