Repository navigation
v7.1.0
7.1.0 – A new RichTextEditor atom, enhanced toolbar, and file restructuring
- Added a
RichTextEditoratom, ported from@jbpark/live-editor’s Tiptap‑based editor. It wraps@tiptap/react’suseEditor/EditorContentwithStarterKitandextension-placeholder, acceptsvalue/placeholder/className/onChange, commits edited HTML on blur, and syncs externalvaluechanges back into the editor. - Added its own scoped typography for headings, lists, blockquotes, and code blocks, replacing the
@tailwindcss/typographyclasses the source component depended on (see ui‑kit#336). - Added an optional toolbar (
toolbar–truefor all presets or an array to pick a subset/order) andtoolbarItemsfor custom buttons ({ key, icon, label?, isActive?, onClick }), each receiving the liveEditorinstance. - Added toolbar presets covering all
StarterKitregisters plus the addedTextStyleKitmarks:undo,redo,heading(paragraph/H1‑H4 viaSelect),bold,italic,underline,strike,code,bulletList,orderedList,blockquote,codeBlock,horizontalRule,link(small URL popover),fontSize, andcolor. No extension beyond@tiptap/extension-text-style’sTextStyleKit(fontFamily/lineHeight/backgroundColor disabled) was needed. - Added new
classNames.toolbar/classNames.contentslots to style the toolbar row and editor body independently. - Fixed the
fontSize/colorcontrols that previously called.focus()on every change while their picker was still open, which caused Radix popovers to dismiss immediately. The.focus()call has been removed; commands still apply to the stored ProseMirror selection regardless of DOM focus. - Restructured
rich-text-editor.tsxinto arich-text-editor/folder (rich-text-editor.tsx,toolbar.tsx,toolbar-button.tsx,toolbar-presets.tsx,content-classes.ts,types.ts,index.ts) to allow the toolbar preset registry to grow.
What's Changed
- fix(scripts): extract nvidia-chat.mjs with model fallback and think-block strip by @pjb0811 in #332
- 🔧 chore: modernize CI action versions and align pnpm to packageManager by @pjb0811 in #333
- 🔥 chore: remove redundant GitHub Pages docs-deploy workflow by @pjb0811 in #334
- 🐛 fix: log nvidia-chat diagnostics to stderr, not stdout by @pjb0811 in #335
- ✨ feat(rich-text-editor): add RichTextEditor atom with extensible toolbar by @pjb0811 in #337
- 🔖 chore: version packages by @github-actions[bot] in #338
Full Changelog: v7.0.0...v7.1.0