Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: improved lexical richText diffing in version view #11760

Open
wants to merge 22 commits into
base: main
Choose a base branch
from

Conversation

AlessioGr
Copy link
Member

@AlessioGr AlessioGr commented Mar 18, 2025

This replaces our JSON-based richtext diffing with HTML-based richtext diffing for lexical. It uses this HTML diff library that I then modified to handle diffing more complex elements like links, uploads and relationships.

This makes it way easier to spot changes, replacing the lengthy Lexical JSON with a clean visual diff that shows exactly what's different.

Before

CleanShot 2025-03-18 at 13 54 51@2x

After

CleanShot 2025-03-18 at 14 06 00@2x

CleanShot 2025-03-18 at 14 20 27@2x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant