@mce/pdf 0.15.22 → 0.15.23

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 -0
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -14,6 +14,7 @@ function plugin() {
14
14
  saveAs: true,
15
15
  handle: async (options) => {
16
16
  const doc = await to("json", options);
17
+ doc.children?.reverse();
17
18
  return await new Pdf({
18
19
  ...doc,
19
20
  fonts
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mce/pdf",
3
3
  "type": "module",
4
- "version": "0.15.22",
4
+ "version": "0.15.23",
5
5
  "description": "PDF plugin for mce",
6
6
  "author": "wxm",
7
7
  "license": "MIT",
@@ -49,7 +49,7 @@
49
49
  "modern-pdf": "^1.4.0"
50
50
  },
51
51
  "devDependencies": {
52
- "mce": "0.15.22"
52
+ "mce": "0.15.23"
53
53
  },
54
54
  "peerDependencies": {
55
55
  "mce": "^0"