slate-react 0.91.0 → 0.91.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/dist/hooks/android-input-manager/android-input-manager.d.ts.map +1 -1
- package/dist/index.es.js +6 -0
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/slate-react.js +6 -0
- package/dist/slate-react.min.js +1 -1
- package/dist/utils/weak-maps.d.ts +0 -2
- package/dist/utils/weak-maps.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/slate-react.js
CHANGED
|
@@ -4560,6 +4560,12 @@
|
|
|
4560
4560
|
_start = _Range$edges4[0],
|
|
4561
4561
|
_end = _Range$edges4[1];
|
|
4562
4562
|
|
|
4563
|
+
var point = {
|
|
4564
|
+
path: targetRange.anchor.path,
|
|
4565
|
+
offset: _start.offset
|
|
4566
|
+
};
|
|
4567
|
+
var range = slate.Editor.range(editor, point, point);
|
|
4568
|
+
handleUserSelect(range);
|
|
4563
4569
|
return storeDiff(targetRange.anchor.path, {
|
|
4564
4570
|
text: '',
|
|
4565
4571
|
end: _end.offset,
|