@keyblade/tinymce-editor-vue2 0.0.12-alpha.15 → 0.0.12-alpha.16

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/README.md +6 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -139,7 +139,7 @@ watch(() => uploadImageImgPondRef.value, () => {
139
139
  ```
140
140
 
141
141
 
142
- ### 3.使用工具类(单独使用图片上传组件的,可使用这两个工具类自行处理)
142
+ #### 工具类Api
143
143
 
144
144
  ```typescript
145
145
  export async function oneTravelImageCheck(data: File | Blob, options?: {
@@ -174,6 +174,11 @@ export async function oneTravelImageCompressor(data: File | Blob): Promise<{
174
174
  success: boolean;
175
175
  errorMessage?: string
176
176
  }>{}
177
+
178
+ export async function interceptImgPondBeforeAddFile(imgPondIns: any, options?: {
179
+ onStart?: () => void,
180
+ onEnd?: () => void,
181
+ }) {}
177
182
  ```
178
183
 
179
184
  ## 三、Api
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.15",
5
+ "version": "0.0.12-alpha.16",
6
6
  "private": false,
7
7
  "type": "module",
8
8
  "main": "es/index.js",