slate-react 0.68.0-2021924151912 → 0.68.1

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/CHANGELOG.md CHANGED
@@ -1,6 +1,12 @@
1
1
  # slate-react
2
2
 
3
- ## 0.68.0-2021924151912
3
+ ## 0.68.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#4627](https://github.com/ianstormtaylor/slate/pull/4627) [`ec01e75f`](https://github.com/ianstormtaylor/slate/commit/ec01e75fff29b3e7b710b59a6ba8106d9aa9ca5e) Thanks [@jameshfisher](https://github.com/jameshfisher)! - Fixed issues where cursor jumps to wrong location
8
+
9
+ ## 0.68.0
4
10
 
5
11
  ### Minor Changes
6
12
 
package/dist/index.es.js CHANGED
@@ -1019,7 +1019,7 @@ var Editable$1 = props => {
1019
1019
 
1020
1020
  if (hasDomSelection && hasDomSelectionInEditor && selection) {
1021
1021
  var slateRange = ReactEditor.toSlateRange(editor, domSelection, {
1022
- exactMatch: false,
1022
+ exactMatch: true,
1023
1023
  // domSelection is not necessarily a valid Slate range
1024
1024
  // (e.g. when clicking on contentEditable:false element)
1025
1025
  suppressThrow: true