Skip to content

feat(cms): render lexical blocks in the version diff view#46

Merged
jhb-dev merged 1 commit into
mainfrom
claude/custom-lexical-diff-56q5ob
Jul 1, 2026
Merged

feat(cms): render lexical blocks in the version diff view#46
jhb-dev merged 1 commit into
mainfrom
claude/custom-lexical-diff-56q5ob

Conversation

@jhb-dev

@jhb-dev jhb-dev commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Add a reusable lexical block-diff plugin so that blocks embedded in rich
text render their field contents in the admin version diff view instead of
showing only the block name/slug.

  • Add the generic shared/lexical/plugin folder (auto block converter,
    HTML helpers, editor wrapper) plus the project glue files
    (LexicalBlocksDiffComponent, diffComponentPath).
  • Wire lexicalEditorWithBlockDiff into the root editor and the Articles
    content editor (the only editor embedding blocks: CodeBlock).
  • Register the diff component in the generated import map.

🤖 Generated with Claude Code

@vercel

vercel Bot commented Jul 1, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
website-cms Ready Ready Preview, Comment Jul 1, 2026 9:22am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
website Ignored Ignored Jul 1, 2026 9:22am

Request Review

Add a reusable lexical block-diff plugin so that blocks embedded in rich
text render their field contents in the admin version diff view instead of
showing only the block name/slug.

- Add the generic `shared/lexical/plugin` folder (auto block converter,
  HTML helpers, editor wrapper) plus the project glue files
  (`LexicalBlocksDiffComponent`, `diffComponentPath`).
- Wire `lexicalEditorWithBlockDiff` into the root editor and the Articles
  `content` editor (the only editor embedding blocks: CodeBlock).
- Register the diff component in the generated import map.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Rhs2Em2ipydqqPHpH464J4
@jhb-dev
jhb-dev force-pushed the claude/custom-lexical-diff-56q5ob branch from 03d96b0 to e8b15bd Compare July 1, 2026 09:21
@jhb-dev
jhb-dev merged commit 7ce143a into main Jul 1, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants