easy-email-pro-editor 1.26.0 → 1.26.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 +1 -1
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -868,7 +868,7 @@ const Vg = (d) => {
868
868
  ));
869
869
  }, Yg = (e) => (u) => {
870
870
  const a = e, s = gu(), d = Qe.findPath(s, u.element).join("-");
871
- u.attributes["data-slate-type"] = u.element.type, u.attributes["data-slate-path"] = d;
871
+ u.attributes["data-slate-type"] = u.element.type, u.attributes["data-slate-category"] = fe.getBlockByType(u.element.type).category, u.attributes["data-slate-path"] = d;
872
872
  const g = fe.getBlockByType(u.element.type);
873
873
  return u.attributes["data-slate-void"] = g.void || void 0, /* @__PURE__ */ E.createElement(a, D({}, u));
874
874
  }, zg = (e) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easy-email-pro-editor",
3
- "version": "1.26.0",
3
+ "version": "1.26.2",
4
4
  "description": "",
5
5
  "files": [
6
6
  "lib"