@keyblade/tinymce-editor-vue2 0.0.12-alpha.23 → 0.0.12-alpha.24

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.
package/README.md CHANGED
@@ -31,6 +31,7 @@ Vue.use(PicViewer, {})
31
31
  Vue.use(ImgPond, {})
32
32
 
33
33
  Vue.use(TinymceEditor, {
34
+ // 图片
34
35
  imageUploadOptions: {
35
36
  handleRequest: (file: File | Blob, filename: string, parameters: { extParameters: Record<string, any> }) => {
36
37
  return new Promise((resolve) => {
package/es/editor.vue2.js CHANGED
@@ -319,7 +319,7 @@ const ra = /* @__PURE__ */ ge({
319
319
  if (u.hasTransform) {
320
320
  l = u.file;
321
321
  const G = s == null ? void 0 : s.split(".");
322
- G.pop(), s = `${G.join(",")}.jpeg`;
322
+ G.pop(), s = `${G.join(",")}.jpg`;
323
323
  }
324
324
  const p = await K(l);
325
325
  if (!p.success)
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@keyblade/tinymce-editor-vue2",
3
3
  "description": "KeyBlade Tinymce Editor Vue2",
4
4
  "author": "yangshuai <704807396@qq.com>",
5
- "version": "0.0.12-alpha.23",
5
+ "version": "0.0.12-alpha.24",
6
6
  "private": false,
7
7
  "type": "module",
8
8
  "main": "es/index.js",