easy-email-pro-editor 1.50.9 → 1.50.10

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 +5 -4
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -14578,7 +14578,7 @@ const TD = () => {
14578
14578
  }, e.insertBreak = () => {
14579
14579
  const b = me.above(e, {
14580
14580
  match(x, w) {
14581
- return W.isBlockElement(x);
14581
+ return W.isContentElement(x);
14582
14582
  },
14583
14583
  mode: "lowest"
14584
14584
  });
@@ -14599,10 +14599,11 @@ const TD = () => {
14599
14599
  attributes: {}
14600
14600
  },
14601
14601
  {
14602
- // at: elementEntry[1],
14602
+ at: b[1],
14603
14603
  match(w, Q) {
14604
- return !W.isBlockElement(w) && !W.isHTMLBlockNodeElement(w);
14605
- }
14604
+ return W.isTextNode(w) || W.isInlineElement(w);
14605
+ },
14606
+ mode: "highest"
14606
14607
  }
14607
14608
  ), c();
14608
14609
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easy-email-pro-editor",
3
- "version": "1.50.9",
3
+ "version": "1.50.10",
4
4
  "description": "",
5
5
  "files": [
6
6
  "lib"