slate-angular 16.1.0-next.19 → 16.1.0-next.20
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.
|
@@ -3952,7 +3952,7 @@ class SlateEditable {
|
|
|
3952
3952
|
const currentNode = Node.parent(editor, selection.anchor.path);
|
|
3953
3953
|
if (Element.isElement(currentNode) &&
|
|
3954
3954
|
Editor.isVoid(editor, currentNode) &&
|
|
3955
|
-
Editor.isInline(editor, currentNode)) {
|
|
3955
|
+
(Editor.isInline(editor, currentNode) || Editor.isBlock(editor, currentNode))) {
|
|
3956
3956
|
event.preventDefault();
|
|
3957
3957
|
Editor.deleteBackward(editor, {
|
|
3958
3958
|
unit: 'block'
|