@paged-media/plugin-sdk 0.2.53-canary.0 → 0.2.54-canary.0

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 +6 -0
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -15490,6 +15490,12 @@ function createBundleHost(getEditor, manifest, options) {
15490
15490
  const editor = getEditor();
15491
15491
  const applied = await editor.client.setElementSelection(ids, mode);
15492
15492
  editor.selection.setElementSelection(applied);
15493
+ try {
15494
+ editor.selection.setElementGeometry(
15495
+ await editor.client.elementGeometry(applied)
15496
+ );
15497
+ } catch {
15498
+ }
15493
15499
  return applied;
15494
15500
  },
15495
15501
  onDidChange(listener) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paged-media/plugin-sdk",
3
- "version": "0.2.53-canary.0",
3
+ "version": "0.2.54-canary.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -11,7 +11,7 @@
11
11
  }
12
12
  },
13
13
  "dependencies": {
14
- "@paged-media/plugin-api": "0.2.53-canary.0"
14
+ "@paged-media/plugin-api": "0.2.54-canary.0"
15
15
  },
16
16
  "peerDependencies": {
17
17
  "react": "^18.3.0"