easy-email-pro-theme 1.37.0 → 1.37.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.
Files changed (2) hide show
  1. package/lib/index.js +7 -0
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -813,6 +813,13 @@ const DraggingProvider = ({
813
813
  return false;
814
814
  if (NodeUtils.isUnsetElement(node2))
815
815
  return false;
816
+ const voidElementEntry = Editor.above(editor, {
817
+ match: NodeUtils.isVoidBlockElement,
818
+ at: path2
819
+ });
820
+ if (voidElementEntry) {
821
+ return false;
822
+ }
816
823
  if (NodeUtils.isParentCategoryType(
817
824
  propsData.element.type,
818
825
  node2.type
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easy-email-pro-theme",
3
- "version": "1.37.0",
3
+ "version": "1.37.2",
4
4
  "description": "",
5
5
  "files": [
6
6
  "lib"