slate-react 0.72.7-202202811645 → 0.72.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1324,7 +1324,7 @@ var Editable$1 = function Editable(props) {
1324
1324
 
1325
1325
 
1326
1326
  state.isUpdatingSelection = true;
1327
- var newDomRange = selection && hasDomSelectionInEditor && ReactEditor.toDOMRange(editor, selection);
1327
+ var newDomRange = selection && ReactEditor.toDOMRange(editor, selection);
1328
1328
 
1329
1329
  if (newDomRange) {
1330
1330
  if (slate.Range.isBackward(selection)) {