About
A WYSIWYG text editor with a formatting toolbar for headings, bold, italic, lists, quotes and links, supporting Markdown-style shortcuts and an optional character limit.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Rich Text Editor to your project and fits it to your theme.
Code
How Rich Text Editor is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import { RichTextEditor } from "@/components/ui/rich-text-editor";
export default function RichTextEditorDemo() {
return (
<div className="flex w-full max-w-xl flex-col gap-2">
<RichTextEditor
label="Editor"
placeholder="Write something…"
defaultValue="<p>Write your <strong>release notes</strong> here.</p>"
/>
</div>
);
}







