{"id":18750114,"url":"https://github.com/mindfiredigital/react-text-igniter","last_synced_at":"2025-04-12T23:31:49.336Z","repository":{"id":255649641,"uuid":"824016184","full_name":"mindfiredigital/react-text-igniter","owner":"mindfiredigital","description":"A powerful and intuitive HTML Editor built with React.js.","archived":false,"fork":false,"pushed_at":"2024-10-29T09:40:41.000Z","size":1513,"stargazers_count":7,"open_issues_count":9,"forks_count":8,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T17:47:42.932Z","etag":null,"topics":["editor","html","htmleditor","javascript","npm","reactjs","text","wysiwyg"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mindfiredigital.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-04T07:44:10.000Z","updated_at":"2024-10-29T09:39:46.000Z","dependencies_parsed_at":"2024-10-28T11:56:00.227Z","dependency_job_id":"d0f70531-b7b1-43f0-95e5-bcd2f4d86ce0","html_url":"https://github.com/mindfiredigital/react-text-igniter","commit_stats":null,"previous_names":["mindfiredigital/react-text-igniter"],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mindfiredigital%2Freact-text-igniter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mindfiredigital%2Freact-text-igniter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mindfiredigital%2Freact-text-igniter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mindfiredigital%2Freact-text-igniter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mindfiredigital","download_url":"https://codeload.github.com/mindfiredigital/react-text-igniter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248647257,"owners_count":21139081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["editor","html","htmleditor","javascript","npm","reactjs","text","wysiwyg"],"created_at":"2024-11-07T17:10:21.527Z","updated_at":"2025-04-12T23:31:48.999Z","avatar_url":"https://github.com/mindfiredigital.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eReact Text Igniter\u003c/h1\u003e\u003cbr\u003e\u003cbr\u003e\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://www.npmjs.com/package/@mindfiredigital/react-text-igniter\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@mindfiredigital/react-text-igniter.svg?sanitize=true\" alt=\"Version\"\u003e\u003c/a\u003e\n\u003ca href=\"https://www.npmjs.com/package/@mindfiredigital/react-text-igniter\"\u003e\u003cimg src=\"https://img.shields.io/badge/PRs-welcome-brightgreen.svg\" alt=\"PRs\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cbr\u003e\n\n\u003cp align=\"center\"\u003e Experience a Lightweight , powerful and intuitive HTML Editor built with React.js. \u003c/p\u003e\n\nThe `@mindfiredigital/react-text-igniter` is a tool that allows developers to integrate TextIgniter using React.\n\u003cbr\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"Screenshot of the React Text Igniter\" src=\"https://res.cloudinary.com/dxf1kplcx/image/upload/v1725448061/react-text-igniter-screenshot_c4dq9c.png\"\\\u003e\n\u003c/p\u003e\n\n## Live Demo\n\nClick the button below to open the project on StackBlitz.\n\n\u003ca href=\"https://stackblitz.com/edit/vitejs-vite-9nstpc?file=src%2Findex.css\" target=\"_blank\"\u003e\n  \u003cimg src=\"https://developer.stackblitz.com/img/open_in_stackblitz.svg\" alt=\"Open in StackBlitz\"\u003e\n\u003c/a\u003e\n\n## Table of Contents\n\n- [Features](#features)\n- [Installation](#installation)\n- [Getting Started](#getting-started)\n- [Contributing](#contributing)\n- [License](#license)\n\n\u003cbr\u003e\n\n## Features\n\n- **Bold**: When you apply bold formatting to text, it makes the selected text appear thicker and more prominent.\n- **Italic**: Italic text is slanted to the right.\n- **Underline**: Underlining text places a horizontal line beneath it.\n- **Subscript**: Subscript lowers the selected text below the baseline.\n- **Superscript**: Superscript raises the selected text above the baseline.\n- **Left Align**: This feature aligns text to the left margin, creating a straight left edge.\n- **Center Align**: Center alignment places text in the middle of the page or text box.\n- **Right Align**: Text is aligned to the right margin, creating a straight right edge..\n- **Bullet List**: Bullet lists present information as a series of items with bullets.\n- **Numbered List**: Numbered lists provide a sequential order to items.\n- **Insert Table**: This feature allows you to create tables to organize data.\n- **Insert Layout**: This feature allows you to create Layout to organize data.\n- **Heading**: Headings are typically used to divide a document into sections or chapters. They are usually styled differently, such as with larger text or bold formatting.\n- **Hyperlink**: A hyperlink is a clickable link that connects to a webpage or another location within the document.\n- **Image**: This feature allows you to insert images or graphics into your document to enhance its visual appeal or convey additional information.\n- **GETHTML**: This feature allows you to get HTML for the data of editor.\n- **GETJSON**: This feature allows you to get JSON for the data of editor.\n- **Custom Height**: This feature allows you to set height of editor.\n\n\u003cbr\u003e\n\n## Installation\n\nTo install the `@mindfiredigital/react-text-igniter` npm package in your project, use the following command:\n\n```bash\nnpm install @mindfiredigital/react-text-igniter\n```\n\n\u003cbr\u003e\n\n## Getting Started\n\n- **Initialization**: Initialize the TextIgniter in your project, specifying the container element where the editor will be embedded.\n\n```javascript\nimport { TextIgniter } from \"@mindfiredigital/react-text-igniter\";\nimport React, { useRef } from \"react\";\n\nexport default function App() {\n  const editorRef = useRef();\n\n  // define features\n  const features = [\n    \"heading\",\n    \"bold\",\n    \"italic\",\n    \"underline\",\n    \"orderedList\",\n    \"unorderedList\",\n    \"justifyLeft\",\n    \"justifyCenter\",\n    \"justifyRight\",\n    \"createLink\",\n    \"insertImage\",\n    \"superscript\",\n    \"subscript\",\n    \"table\",\n    \"layout\",\n  ];\n\n  return \u003cTextIgniter ref={editorRef} features={features} height={\"400px\"} /\u003e;\n}\n```\n\n- **GET HTML/JSON**: Geting HTML and JSON for the content of Editor.\n\n```javascript\nimport { TextIgniter } from \"@mindfiredigital/react-text-igniter\";\nimport React, { useRef } from \"react\";\n\nexport default function App() {\n  const editorRef = useRef();\n\n  // define features\n  const features = [\n    \"heading\",\n    \"bold\",\n    \"italic\",\n    \"underline\",\n    \"orderedList\",\n    \"unorderedList\",\n    \"justifyLeft\",\n    \"justifyCenter\",\n    \"justifyRight\",\n    \"createLink\",\n    \"insertImage\",\n    \"superscript\",\n    \"subscript\",\n    \"table\",\n    \"layout\",\n  ];\n\n  // get HTML content\n  const handleGetHtmlContent = () =\u003e {\n    console.log(\"HTML:\", editorRef.current.getHtml());\n  };\n\n  // get JSON content\n  const handleGetJsonContent = () =\u003e {\n    console.log(\"JSON:\", editorRef.current.getJson());\n  };\n\n  return (\n    \u003c\u003e\n      \u003cTextIgniter ref={editorRef} features={features} height={\"400px\"} /\u003e\n      \u003cbutton onClick={handleGetHtmlContent}\u003echeck html\u003c/button\u003e\n      \u003cbutton onClick={handleGetJsonContent}\u003echeck Json\u003c/button\u003e\n    \u003c/\u003e\n  );\n}\n```\n\n\u003cbr\u003e\n\n## Contributing\n\nWe welcome contributions from the community. If you'd like to contribute to the `react-text-igniter` npm package, please follow our [Contributing Guidelines](CONTRIBUTING.md).\n\u003cbr\u003e\n\n## License\n\nCopyright (c) Mindfire Digital llp. All rights reserved.\n\nLicensed under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmindfiredigital%2Freact-text-igniter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmindfiredigital%2Freact-text-igniter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmindfiredigital%2Freact-text-igniter/lists"}