# sstur/react-rte

Pure React rich text WYSIWYG editor based on draft-js.

Repository: https://github.com/sstur/react-rte
Canonical: https://ross.abutalabs.com/products/react-rte
Homepage: https://react-rte.org
Language: JavaScript
License: ISC
License Family: permissive
Last push: 2023-05-17T17:02:20+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3843, "days_push": 1204, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2863, forks 428 (observed 2026-08-28T04:07:26.416512+00:00)

## What it is
A pure React WYSIWYG rich text editor component built on Draft.js, designed as a drop-in textarea replacement with a formatting toolbar and HTML/Markdown value conversion. The project is explicitly deprecated, and its underlying Draft.js dependency has been archived by Facebook in favor of Lexical.

## Use cases
- embed a rich text editor in a react app
- replace a textarea with a wysiwyg editor
- convert rich text content between html and markdown
- add a formatting toolbar to text input
- build a blog post or comment composer in react
- create value from html string in react editor

## When to choose
- you are maintaining a legacy React codebase that already uses Draft.js or react-rte
- you need a textarea-like value/onChange API for rich text with HTML and Markdown serialization
- you need an isolated, self-contained editor component for an internal tool with no long-term maintenance concerns

## When to avoid
- starting any new project - the README explicitly recommends alternatives like Lexical or TipTap instead
- you need actively maintained software with ongoing bug fixes and security patches
- you want long-term support, since Draft.js itself is archived and unmaintained
- your build setup cannot add a CSS loader or polyfills for older browsers

## Facets
- artifact type: library
- maturity: abandoned
- function: editor, ui-components
- domain: frontend, web-development, text-editors
- platform: browser
- tags: react, draft-js, wysiwyg, rich-text, contenteditable, react-component, deprecated, textarea-replacement, nodejs

## Member repositories
- sstur/react-rte (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:26.416512+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:36:21.580500+00:00, confidence not recorded.
  - readme: https://github.com/sstur/react-rte (fetched 2026-08-28T04:07:26.416512+00:00, sha feaacee47664)
  - homepage: https://react-rte.org (fetched 2026-08-29T09:52:15.425378+00:00, sha 2e540b6995c9)
  - registry_npm: https://registry.npmjs.org/react-rte (fetched 2026-08-29T09:52:15.434357+00:00, sha 47da4c8cd7c6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
