1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-03-05 21:49:06 +01:00

Fix incorrect history stack ()

* update yarn.lock

* fix typo that cause select operation clearing redo
This commit is contained in:
Irwan Fario Subastian 2018-08-25 01:30:37 +10:00 committed by Ian Storm Taylor
parent 7c22e93f97
commit dfc41d1697
2 changed files with 77 additions and 497 deletions
packages/slate/src/changes
yarn.lock

@ -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
}

572
yarn.lock

File diff suppressed because it is too large Load Diff