mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-03-05 21:49:06 +01:00
Fix incorrect history stack (#2122)
* update yarn.lock * fix typo that cause select operation clearing redo
This commit is contained in:
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 (Object.keys(props).lengtgh === 0) {
|
||||
if (Object.keys(props).length === 0) {
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user