@blocklet/editor 2.5.74 → 2.5.76

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.
@@ -376,6 +376,7 @@ function SimpleImageComponent({ src, altText = '', width, height, }) {
376
376
  // 图片剪裁,限制最大宽度
377
377
  return withQuery(src, {
378
378
  imageFilter: 'resize',
379
+ f: 'webp',
379
380
  w: Math.round(maxContentWidth * dpr),
380
381
  });
381
382
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/editor",
3
- "version": "2.5.74",
3
+ "version": "2.5.76",
4
4
  "main": "lib/index.js",
5
5
  "sideEffects": false,
6
6
  "publishConfig": {
@@ -73,7 +73,7 @@
73
73
  "ufo": "^1.5.4",
74
74
  "url-join": "^4.0.1",
75
75
  "zustand": "^4.5.5",
76
- "@blocklet/pdf": "2.5.74"
76
+ "@blocklet/pdf": "2.5.76"
77
77
  },
78
78
  "devDependencies": {
79
79
  "@babel/core": "^7.25.2",