@mce/svg 0.35.0 → 0.36.1

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 +4 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -45,7 +45,10 @@ function plugin() {
45
45
  handle: async (options) => {
46
46
  const { docToSvgString } = await import("modern-idoc-svg");
47
47
  return await docToSvgString({
48
- ...await to("json", options),
48
+ ...await to("json", {
49
+ theme: "light",
50
+ ...options
51
+ }),
49
52
  fonts
50
53
  }, { imagePipelineResolver: resolveImagePipelines });
51
54
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mce/svg",
3
3
  "type": "module",
4
- "version": "0.35.0",
4
+ "version": "0.36.1",
5
5
  "description": "SVG plugin for mce",
6
6
  "author": "wxm",
7
7
  "license": "MIT",
@@ -50,7 +50,7 @@
50
50
  "modern-path2d": "^1.8.8"
51
51
  },
52
52
  "devDependencies": {
53
- "mce": "0.35.0"
53
+ "mce": "0.36.1"
54
54
  },
55
55
  "peerDependencies": {
56
56
  "mce": "^0"