fix associative relative positions
This commit is contained in:
parent
32b734b24d
commit
4af04d6a29
@ -146,7 +146,7 @@ export const createRelativePositionFromTypeIndex = (type, index, assoc = 0) => {
|
|||||||
if (index === 0) {
|
if (index === 0) {
|
||||||
return createRelativePosition(type, null, assoc)
|
return createRelativePosition(type, null, assoc)
|
||||||
}
|
}
|
||||||
index++
|
index--
|
||||||
}
|
}
|
||||||
while (t !== null) {
|
while (t !== null) {
|
||||||
if (!t.deleted && t.countable) {
|
if (!t.deleted && t.countable) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user