Skip to content

Conversation

@Ft-Blue
Copy link

@Ft-Blue Ft-Blue commented Apr 9, 2025

This fixes an issue where the document type used for creating the document fragment to render snapshots is not updated with `historyDocument``

Observed issue: When the initial document has garbage collection enabled, deleted content is GC'ed in historyDoc when rendering the diff between 2 snapshots.

Expected behavior: When the initial document has garbage collection enabled, deleted content is kept in historyDoc when rendering the diff between 2 snapshots.

@dmonad
Copy link
Member

dmonad commented Apr 10, 2025

Thank you!
I'm going to publish this in a sec.

@dmonad dmonad merged commit cb4ec5f into yjs:master Apr 10, 2025
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