diff --git a/src/models/selection.js b/src/models/selection.js index 0e80ba028..039cb09e8 100644 --- a/src/models/selection.js +++ b/src/models/selection.js @@ -336,6 +336,7 @@ class Selection extends new Record(DEFAULTS) { isBackward = anchorOffset > focusOffset } else { isBackward = !node.areDescendantSorted(anchorKey, focusKey) + } } // Merge in any updated properties.