mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-19 13:41:19 +02:00
Fix incorrect history stack (#2122)
* update yarn.lock * fix typo that cause select operation clearing redo
This commit is contained in:
committed by
Ian Storm Taylor
parent
7c22e93f97
commit
dfc41d1697
@@ -574,7 +574,7 @@ Changes.select = (change, properties, options = {}) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// If there are no new properties to set, abort to avoid extra operations.
|
// If there are no new properties to set, abort to avoid extra operations.
|
||||||
if (Object.keys(props).lengtgh === 0) {
|
if (Object.keys(props).length === 0) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user