A Tiptap editor beside its own source: a toolbar whose active formats ink, a bubble menu over selections, a slash menu for blocks, a word limit that turns signal, and Markdown or HTML whose changed line flashes.
pnpm dlx shadcn@latest add @beautiful-ui-pro/rich-text-editorNeeds your registry key. Your components.json style picks the Base UI or Radix build: radix-*, new-york and default get Radix, base-* gets Base UI.
The CLI adds the styles to the CSS file named in components.json (tailwind.css). Check that it points at your global stylesheet, that the project uses Tailwind CSS v4, and that the file is imported in your root layout. Installed by hand: paste styles.css into that file.
Import it and pass your content. The props that matter most are listed next.
"use client";
import { RichTextEditor } from "@/components/ui/notchset/rich-text-editor";
export function RunNotes({ notes, save }: { notes: string; save: (markdown: string) => void }) {
return <RichTextEditor defaultValue={notes} wordLimit={120} onChange={({ markdown }) => save(markdown)} />;
}defaultValue–
string (HTML)Starting content; RESET restores it.
onChange–
({ html, markdown, json }) => voidEvery change.
wordLimit–
numberOver it, the count turns signal.
source–
booleanThe Markdown / HTML pane (default on).
components/ui/notchset/rich-text-editor.tsx
This component is included with Pro.
Try the live preview above. Get Pro to install the source.