fixed awaitedInserts (critical for y-richtext)
This commit is contained in:
parent
c2ffe0b697
commit
a10933beef
2
dist
2
dist
@ -1 +1 @@
|
|||||||
Subproject commit b958b72f1df825af1641a2a5896f2425935465f9
|
Subproject commit f21e1c549a12275c36980fe6d117fa1589f1ff69
|
@ -123,9 +123,9 @@ module.exports = function (Y /* : any*/) {
|
|||||||
w.right = op.id
|
w.right = op.id
|
||||||
// exclude the effect of w in op
|
// exclude the effect of w in op
|
||||||
op.left = w.left
|
op.left = w.left
|
||||||
} else if (Y.utils.matchesId(w, op.right)) {
|
} else if (Y.utils.compareIds(w.id, op.right)) {
|
||||||
// similar..
|
// similar..
|
||||||
w.left = op.id
|
w.left = Y.utils.getLastId(op)
|
||||||
op.right = w.right
|
op.right = w.right
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user