@mce/bigesj 0.12.3 → 0.12.5
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 -6
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1033,16 +1033,12 @@ async function convertElement(el, parent, context) {
|
|
|
1033
1033
|
const style = { ...el.style ?? el };
|
|
1034
1034
|
delete style.bottom;
|
|
1035
1035
|
delete style.right;
|
|
1036
|
+
const { children: _children, ...raw } = el;
|
|
1036
1037
|
const meta = {
|
|
1038
|
+
raw,
|
|
1037
1039
|
inPptIs: "Shape",
|
|
1038
1040
|
inEditorIs: "Element"
|
|
1039
1041
|
};
|
|
1040
|
-
if (el.id) {
|
|
1041
|
-
meta.rawId = el.id;
|
|
1042
|
-
}
|
|
1043
|
-
if (el.name) {
|
|
1044
|
-
meta.rawName = el.name;
|
|
1045
|
-
}
|
|
1046
1042
|
const element = {
|
|
1047
1043
|
id: idGenerator(),
|
|
1048
1044
|
name: el.name ?? el.title ?? el.id,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mce/bigesj",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.12.
|
|
4
|
+
"version": "0.12.5",
|
|
5
5
|
"description": "Plugin for mce",
|
|
6
6
|
"author": "wxm",
|
|
7
7
|
"license": "MIT",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"fflate": "^0.8.2"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"mce": "0.12.
|
|
51
|
+
"mce": "0.12.5"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"mce": "^0"
|