mce 0.32.8 → 0.32.9

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/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -9749,7 +9749,7 @@ var jd = Re((n) => {
9749
9749
  transform: `scale(${d})`
9750
9750
  },
9751
9751
  children: m.map((O) => {
9752
- const A = O.toJSON(), T = A.style;
9752
+ const A = O.toJSON(), T = A.style ??= {};
9753
9753
  return f && (T.left = (T.left ?? 0) - f), b && (T.top = (T.top ?? 0) - b), A.meta ??= {}, A.meta.inPptIs = "Slide", A;
9754
9754
  }),
9755
9755
  meta: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mce",
3
3
  "type": "module",
4
- "version": "0.32.8",
4
+ "version": "0.32.9",
5
5
  "description": "A headless infinite canvas editor framework built on WebGL rendering, supports exporting to image, video, and PPT. Only the ESM.",
6
6
  "author": "wxm",
7
7
  "license": "MIT",