mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-30 18:39:51 +02:00
Fix syntax
This commit is contained in:
@@ -336,6 +336,7 @@ class Selection extends new Record(DEFAULTS) {
|
|||||||
isBackward = anchorOffset > focusOffset
|
isBackward = anchorOffset > focusOffset
|
||||||
} else {
|
} else {
|
||||||
isBackward = !node.areDescendantSorted(anchorKey, focusKey)
|
isBackward = !node.areDescendantSorted(anchorKey, focusKey)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Merge in any updated properties.
|
// Merge in any updated properties.
|
||||||
|
Reference in New Issue
Block a user