mirror of
https://github.com/yjs/yjs.git
synced 2025-12-29 00:25:01 +01:00
fix associative relative positions
This commit is contained in:
@@ -146,7 +146,7 @@ export const createRelativePositionFromTypeIndex = (type, index, assoc = 0) => {
|
||||
if (index === 0) {
|
||||
return createRelativePosition(type, null, assoc)
|
||||
}
|
||||
index++
|
||||
index--
|
||||
}
|
||||
while (t !== null) {
|
||||
if (!t.deleted && t.countable) {
|
||||
|
||||
Reference in New Issue
Block a user