mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-17 20:51:20 +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 (Object.keys(props).lengtgh === 0) {
|
||||
if (Object.keys(props).length === 0) {
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user