{"id":19431423,"url":"https://github.com/devhau/react-wysiwyg-draft","last_synced_at":"2025-08-13T05:04:43.926Z","repository":{"id":119163873,"uuid":"550299320","full_name":"devhau/react-wysiwyg-draft","owner":"devhau","description":null,"archived":false,"fork":false,"pushed_at":"2022-10-29T16:30:39.000Z","size":5834,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-19T10:43:53.140Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/devhau.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"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},"funding":{"github":null,"patreon":"devhau","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2022-10-12T14:23:49.000Z","updated_at":"2023-01-28T20:15:47.000Z","dependencies_parsed_at":"2023-05-18T22:15:25.710Z","dependency_job_id":null,"html_url":"https://github.com/devhau/react-wysiwyg-draft","commit_stats":{"total_commits":7,"total_committers":2,"mean_commits":3.5,"dds":0.1428571428571429,"last_synced_commit":"d31608639db062c997bd1268960d7c6fe6aeb306"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devhau/react-wysiwyg-draft","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devhau%2Freact-wysiwyg-draft","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devhau%2Freact-wysiwyg-draft/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devhau%2Freact-wysiwyg-draft/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devhau%2Freact-wysiwyg-draft/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devhau","download_url":"https://codeload.github.com/devhau/react-wysiwyg-draft/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devhau%2Freact-wysiwyg-draft/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270183606,"owners_count":24541341,"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","status":"online","status_checked_at":"2025-08-13T02:00:09.904Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-10T14:29:35.068Z","updated_at":"2025-08-13T05:04:43.900Z","avatar_url":"https://github.com/devhau.png","language":"JavaScript","funding_links":["https://patreon.com/devhau","https://www.patreon.com/devhau"],"categories":[],"sub_categories":[],"readme":"# React Wysiwyg Draft\n\nA Wysiwyg editor built using ReactJS and DraftJS libraries.\n[Demo Page](https://devhau.github.io/react-wysiwyg-draft).\n\n[![Build Status](https://travis-ci.org/devhau/react-wysiwyg-draft.svg?branch=master)](https://travis-ci.org/devhau/react-wysiwyg-draft)\n\n![](http://i.imgur.com/tU7kJ6i.gif)\n\n## Features\n\n- Configurable toolbar with option to add/remove controls.\n- Option to change the order of the controls in the toolbar.\n- Option to add custom controls to the toolbar.\n- Option to change styles and icons in the toolbar.\n- Option to show toolbar only when editor is focused.\n- Support for inline styles: Bold, Italic, Underline, StrikeThrough, Code, Subscript, Superscript.\n- Support for block types: Paragraph, H1 - H6, Blockquote, Code.\n- Support for setting font-size and font-family.\n- Support for ordered / unordered lists and indenting.\n- Support for text-alignment.\n- Support for coloring text or background.\n- Support for adding / editing links\n- Choice of more than 150 emojis.\n- Support for mentions.\n- Support for hashtags.\n- Support for adding / uploading images.\n- Support for aligning images, setting height, width.\n- Support for Embedded links, flexibility to set height and width.\n- Option provided to remove added styling.\n- Option of undo and redo.\n- Configurable behavior for RTL and Spellcheck.\n- Support for placeholder.\n- Support for WAI-ARIA Support attributes\n- Using editor as controlled or un-controlled React component.\n- Support to convert Editor Content to HTML, JSON, Markdown.\n- Support to convert the HTML generated by the editor back to editor content.\n- Support for internationalization.\n\n## Installing\n\nThe package can be installed from npm `react-wysiwyg-draft`\n\n```\n$ npm install --save react-wysiwyg-draft draft-js\n```\n\n## Getting started\n\nEditor can be used as simple React Component:\n\n```js\nimport { Editor } from \"react-wysiwyg-draft\";\nimport \"react-wysiwyg-draft/dist/react-wysiwyg-draft.css\";\n\u003cEditor\n  editorState={editorState}\n  toolbarClassName=\"toolbarClassName\"\n  wrapperClassName=\"wrapperClassName\"\n  editorClassName=\"editorClassName\"\n  onEditorStateChange={this.onEditorStateChange}\n/\u003e;\n```\n\n## Docs\n\nFor more documentation check [here](https://devhau.github.io/react-wysiwyg-draft/#/docs?_k=jjqinp).\n\n## Questions Discussions\n\nFor discussions join public channel #rd_wysiwyg in [DraftJS Slack Organization](https://draftjs.herokuapp.com/).\n\n## Fund\n\nYou can fund project at [Patreon](https://www.patreon.com/devhau).\n\n## Thanks\n\nOriginal motivation and sponsorship for this work came from [iPaoo](http://www.ipaoo.com/). I am thankful to them for allowing the Editor to be open-sourced.\n\n## License\n\nMIT.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevhau%2Freact-wysiwyg-draft","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevhau%2Freact-wysiwyg-draft","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevhau%2Freact-wysiwyg-draft/lists"}