
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
react-typeflux
Advanced tools
A lightweight, modern, and customizable rich text editor and viewer for React.
A lightweight, easy-to-use rich text editor and viewer for React applications.
npm install react-typeflux
or with yarn:
yarn add react-typeflux
import React, { useState } from "react";
import { RichTextEditor, RichTextViewer } from "react-typeflux";
import "react-typeflux/dist/react-typeflux.css";
const MyEditor = () => {
const [content, setContent] = useState("");
return (
<div>
<RichTextEditor
value={content}
onChange={setContent}
placeholder="Write your blog content…"
allowRichPaste
/>
<h2 className="mt-4 font-bold">Preview</h2>
<RichTextViewer value={content} />
</div>
);
};
export default MyEditor;
<RichTextEditor />| Prop | Type | Default | Description |
|---|---|---|---|
value | string | "" | The editor's current content |
onChange | function | () => {} | Callback when content changes |
placeholder | string | "" | Placeholder text |
allowRichPaste | boolean | false | Whether to allow pasting rich text |
<RichTextViewer />| Prop | Type | Default | Description |
|---|---|---|---|
value | string | "" | The content to render |
To build locally:
git clone https://github.com/haryomidey/react-typeflux.git
cd react-typeflux
npm install
npm run dev
To build for production:
npm run build
This project is licensed under the MIT License.
Ayotech – Portfolio
FAQs
A lightweight, modern, and customizable rich text editor and viewer for React.
We found that react-typeflux demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.