Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changeset/lexical-y-own-segment-run.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@lexical/y': patch
---

[fix] Keep a tab a tab when it was written right next to a tab a collaborator added with one Tab press and then undid, and keep token or segmented text written right before a collaborator's node of the same kind in its mode when they undo theirs

Verify: in a shared document, one person presses Tab right next to a tab another person added with one Tab press; when the other person undoes, the first person's tab is still a tab for everyone (not a tab character in the text before it). A link or format a collaborator removes around a tab at the same time stays removed. A stored line where two people's tabs were shown as one tab now shows both tabs.
Loading
Loading