proper updating of text-attributes
This commit is contained in:
parent
8086a4f816
commit
ca667be68b
@ -170,6 +170,7 @@ const insertNegatedAttributes = (transaction, parent, currPos, negatedAttributes
|
|||||||
left = new Item(createID(ownClientId, getState(doc.store, ownClientId)), left, left && left.lastId, right, right && right.id, parent, null, new ContentFormat(key, val))
|
left = new Item(createID(ownClientId, getState(doc.store, ownClientId)), left, left && left.lastId, right, right && right.id, parent, null, new ContentFormat(key, val))
|
||||||
left.integrate(transaction, 0)
|
left.integrate(transaction, 0)
|
||||||
currPos.currentAttributes.set(key, val)
|
currPos.currentAttributes.set(key, val)
|
||||||
|
updateCurrentAttributes(currPos.currentAttributes, /** @type {ContentFormat} */ (left.content))
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user