Files
yjs/tests
Pawel Piotrowicz 67c809ee6b fix undoing setAttribute combined with delete corrupts remote state - closes #757
When an attribute change and a delete on the same XmlText are bundled in
a single undo stack item, the redone attribute item kept an `origin`
pointing at an item under the now-deleted original parent. The encoder
then omitted parent info (origin was non-null), and the remote derived
parent from origin -- attaching the attribute to the wrong, deleted
type. The restored attribute went missing on sync.

In redoItem, after determining `left` for parentSub items, drop it if
it refers to a different parent than the redo target. This forces the
encoder to write parent info directly, so the remote attaches the
attribute to the correct (redone) parent.
2026-05-08 11:33:21 +02:00
..
2025-01-03 18:11:43 +00:00
2022-03-02 13:23:18 +01:00
2024-12-18 14:34:33 +01:00
2026-03-14 14:03:01 +01:00
2025-06-25 21:06:12 +09:00
2024-02-29 17:08:57 +01:00
2025-01-03 18:11:43 +00:00
2025-01-03 18:11:43 +00:00
2024-02-09 23:27:24 +01:00