Text Editor
A multiline contenteditable editing surface with an application-managed undo/redo history: each text change is a checkpoint, Ctrl/Cmd+Z undoes and Ctrl/Cmd+Y (or Ctrl/Cmd+Shift+Z) redoes, and a new edit after undoing discards the redo stack.
Preview
Installation
npx shadcn@latest add https://ui.publictheta.com/r/text-editor.jsonConformance
This component conforms to the @publictheta/ui-spec text-editor specification. Run the suite against any implementation with pnpm conformance.