slate-react 0.66.2 → 0.66.3-2021824111919

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,5 +1,11 @@
1
1
  # slate-react
2
2
 
3
+ ## 0.66.3-2021824111919
4
+
5
+ ### Patch Changes
6
+
7
+ - [#4526](https://github.com/ianstormtaylor/slate/pull/4526) [`bc85497d`](https://github.com/ianstormtaylor/slate/commit/bc85497d58dc2eddb0918eed4c7d25d040fa653f) Thanks [@VictorBaron](https://github.com/VictorBaron)! - Fix - delete selected inline void in chrome
8
+
3
9
  ## 0.66.2
4
10
 
5
11
  ### Patch Changes
package/dist/index.es.js CHANGED
@@ -1993,7 +1993,7 @@ var Editable$1 = props => {
1993
1993
 
1994
1994
  if (Element$1.isElement(currentNode) && Editor.isVoid(editor, currentNode) && Editor.isInline(editor, currentNode)) {
1995
1995
  event.preventDefault();
1996
- Transforms.delete(editor, {
1996
+ Editor.deleteBackward(editor, {
1997
1997
  unit: 'block'
1998
1998
  });
1999
1999
  return;