mirror of
https://github.com/yjs/yjs.git
synced 2025-12-22 14:39:27 +01:00
[y.text] event returns delta - fix a bunch of bugs
This commit is contained in:
@@ -1872,7 +1872,7 @@ export const testSnapshotDeleteAfter = tc => {
|
||||
}, {
|
||||
insert: 'e'
|
||||
}])
|
||||
const state1 = text0.getContent(createAttributionManagerFromSnapshots(snapshot1, snapshot1))
|
||||
const state1 = text0.getContent(createAttributionManagerFromSnapshots(snapshot1))
|
||||
t.compare(state1, delta.fromJSON([{ insert: 'abcd' }]))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user