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 +7 -1
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/slate-react.js +1 -1
- package/dist/slate-react.min.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
# slate-react
|
|
2
2
|
|
|
3
|
-
## 0.68.
|
|
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:
|
|
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
|