mce 0.15.17 → 0.15.18

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 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -4274,7 +4274,7 @@ const _clipboard = definePlugin((editor, options) => {
4274
4274
  }),
4275
4275
  {
4276
4276
  parent: selection.value[0].parent,
4277
- index: selection.value[0].getIndex(),
4277
+ index: selection.value[0].getIndex() + 1,
4278
4278
  active: true,
4279
4279
  regenId: true
4280
4280
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mce",
3
3
  "type": "module",
4
- "version": "0.15.17",
4
+ "version": "0.15.18",
5
5
  "description": "The headless canvas editor framework. only the ESM.",
6
6
  "author": "wxm",
7
7
  "license": "MIT",
@@ -61,7 +61,7 @@
61
61
  "diff": "^8.0.2",
62
62
  "file-saver": "^2.0.5",
63
63
  "lodash-es": "^4.17.22",
64
- "modern-canvas": "^0.14.32",
64
+ "modern-canvas": "^0.14.35",
65
65
  "modern-font": "^0.4.4",
66
66
  "modern-idoc": "^0.10.8",
67
67
  "modern-text": "^1.10.15",