slate-react 0.65.1-202157193256 → 0.65.2
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 +2 -2
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/slate-react.js +2 -2
- package/dist/slate-react.min.js +1 -1
- package/package.json +1 -1
package/dist/slate-react.js
CHANGED
|
@@ -3044,8 +3044,8 @@
|
|
|
3044
3044
|
return;
|
|
3045
3045
|
}
|
|
3046
3046
|
} else {
|
|
3047
|
-
if (IS_CHROME) {
|
|
3048
|
-
// COMPAT: Chrome
|
|
3047
|
+
if (IS_CHROME || IS_SAFARI) {
|
|
3048
|
+
// COMPAT: Chrome and Safari support `beforeinput` event but do not fire
|
|
3049
3049
|
// an event when deleting backwards in a selected void inline node
|
|
3050
3050
|
if (selection && (Hotkeys.isDeleteBackward(nativeEvent) || Hotkeys.isDeleteForward(nativeEvent)) && slate.Range.isCollapsed(selection)) {
|
|
3051
3051
|
var currentNode = slate.Node.parent(editor, selection.anchor.path);
|