@mce/bigesj 0.13.1 → 0.13.3
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 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1080,6 +1080,7 @@ async function convertElement(el, parent, context) {
|
|
|
1080
1080
|
case "image":
|
|
1081
1081
|
meta.inCanvasIs = "Element2D";
|
|
1082
1082
|
meta.inPptIs = "Picture";
|
|
1083
|
+
meta.lockAspectRatio = true;
|
|
1083
1084
|
element.foreground = {
|
|
1084
1085
|
image: await convertImageElementToUrl(el),
|
|
1085
1086
|
fillWithShape: true
|
|
@@ -1120,6 +1121,7 @@ async function convertElement(el, parent, context) {
|
|
|
1120
1121
|
case "svg": {
|
|
1121
1122
|
meta.inCanvasIs = "Element2D";
|
|
1122
1123
|
meta.inPptIs = "Picture";
|
|
1124
|
+
meta.lockAspectRatio = true;
|
|
1123
1125
|
element.foreground = {
|
|
1124
1126
|
image: await convertSvgElementToUrl(el),
|
|
1125
1127
|
fillWithShape: true
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mce/bigesj",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.13.
|
|
4
|
+
"version": "0.13.3",
|
|
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.13.
|
|
51
|
+
"mce": "0.13.3"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"mce": "^0"
|