mce 0.32.8 → 0.32.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.
- package/dist/index.js +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8102,6 +8102,7 @@ var pu = Re((n) => {
|
|
|
8102
8102
|
key: "CmdOrCtrl+O"
|
|
8103
8103
|
}],
|
|
8104
8104
|
setup: async () => {
|
|
8105
|
+
t.value.on("update", m), t.value.on("history", f);
|
|
8105
8106
|
const { doc: L } = e;
|
|
8106
8107
|
L ? await V(L) : e.db?.local && await t.value.loadIndexeddb();
|
|
8107
8108
|
}
|
|
@@ -9749,7 +9750,7 @@ var jd = Re((n) => {
|
|
|
9749
9750
|
transform: `scale(${d})`
|
|
9750
9751
|
},
|
|
9751
9752
|
children: m.map((O) => {
|
|
9752
|
-
const A = O.toJSON(), T = A.style;
|
|
9753
|
+
const A = O.toJSON(), T = A.style ??= {};
|
|
9753
9754
|
return f && (T.left = (T.left ?? 0) - f), b && (T.top = (T.top ?? 0) - b), A.meta ??= {}, A.meta.inPptIs = "Slide", A;
|
|
9754
9755
|
}),
|
|
9755
9756
|
meta: {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mce",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.32.
|
|
4
|
+
"version": "0.32.10",
|
|
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",
|