Skip to content

Commit 2e06943

Browse files
committed
2 parents b49367e + c0e6dc5 commit 2e06943

37 files changed

+192
-73
lines changed

.github/workflows/coverage.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838

3939
# 加载依赖缓存
4040
- name: Load cached dependencies
41-
uses: actions/cache@v4.2.0
41+
uses: actions/cache@v4.2.2
4242
id: cache
4343
with:
4444
path: |
@@ -61,7 +61,7 @@ jobs:
6161

6262
# 上传覆盖率报告到 Codecov
6363
- name: Upload coverage reports to Codecov
64-
uses: codecov/codecov-action@v5.3.1
64+
uses: codecov/codecov-action@v5.4.0
6565
with:
6666
token: ${{ secrets.CODECOV_TOKEN }}
6767
- name: Upload test results to Codecov

.github/workflows/e2e.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949

5050
# 加载依赖缓存
5151
- name: Load cached dependencies
52-
uses: actions/cache@v4.2.0
52+
uses: actions/cache@v4.2.2
5353
id: cache
5454
with:
5555
path: |

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949

5050
# 加载依赖缓存
5151
- name: Load cached dependencies
52-
uses: actions/cache@v4.2.0
52+
uses: actions/cache@v4.2.2
5353
id: cache
5454
with:
5555
path: |

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151

5252
# 加载依赖缓存
5353
- name: Load cached dependencies
54-
uses: actions/cache@v4.2.0
54+
uses: actions/cache@v4.2.2
5555
id: cache
5656
with:
5757
path: |

packages/basic-modules/CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Change Log
22

3+
## 1.5.33
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [71397d4]
8+
- @wangeditor-next/core@1.7.33
9+
310
## 1.5.32
411

512
### Patch Changes

packages/basic-modules/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wangeditor-next/basic-modules",
3-
"version": "1.5.32",
3+
"version": "1.5.33",
44
"description": "wangEditor basic modules",
55
"author": "cycleccc <2991205548@qq.com>",
66
"type": "module",
@@ -44,7 +44,7 @@
4444
"url": "https://github.com/wangeditor-next/wangeditor-next/issues"
4545
},
4646
"peerDependencies": {
47-
"@wangeditor-next/core": "1.7.32",
47+
"@wangeditor-next/core": "1.7.33",
4848
"dom7": "^3.0.0 || ^4.0.0",
4949
"lodash.throttle": "^4.1.1",
5050
"nanoid": "^5.0.0",

packages/code-highlight/CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Change Log
22

3+
## 1.3.30
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [71397d4]
8+
- @wangeditor-next/core@1.7.33
9+
310
## 1.3.29
411

512
### Patch Changes

packages/code-highlight/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wangeditor-next/code-highlight",
3-
"version": "1.3.29",
3+
"version": "1.3.30",
44
"description": "wangEditor code-highlight module",
55
"author": "cycleccc <2991205548@qq.com>",
66
"type": "module",
@@ -44,7 +44,7 @@
4444
"url": "https://github.com/wangeditor-next/wangeditor-next/issues"
4545
},
4646
"peerDependencies": {
47-
"@wangeditor-next/core": "1.7.32",
47+
"@wangeditor-next/core": "1.7.33",
4848
"dom7": "^3.0.0 || ^4.0.0",
4949
"slate": "^0.72.0",
5050
"snabbdom": "^3.6.0"

packages/core/CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Change Log
22

3+
## 1.7.33
4+
5+
### Patch Changes
6+
7+
- 71397d4: feat: enhance upload configuration with additional Uppy and XHRUpload options
8+
39
## 1.7.32
410

511
### Patch Changes

packages/core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wangeditor-next/core",
3-
"version": "1.7.32",
3+
"version": "1.7.33",
44
"description": "wangEditor core",
55
"author": "cycleccc <2991205548@qq.com>",
66
"type": "module",

packages/core/src/upload/createUploader.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,16 @@ function createUploader(config: IUploadConfig): Uppy {
5656
maxNumberOfFiles,
5757
},
5858
meta, // 自定义添加到 formData 中的参数
59+
...config.uppyConfig, // 支持传入更多 Uppy 配置项
5960
}).use(XHRUpload, {
60-
endpoint: url, // 服务端 url
61-
headers, // 自定义 headers
61+
endpoint: url,
62+
headers,
6263
formData: true,
6364
fieldName,
6465
bundle: true,
6566
withCredentials,
6667
timeout,
68+
...config.xhrConfig, // 支持传入更多 XHRUpload 配置项
6769
})
6870

6971
// 各个 callback

packages/core/src/upload/interface.ts

+4
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,8 @@ export interface IUploadConfig {
4141
customUpload?: (files: File, insertFn: InsertFn) => void
4242
// 自定义选择视频,如图床
4343
customBrowseAndUpload?: (insertFn: InsertFn) => void
44+
// 支持传入更多 Uppy 配置项
45+
uppyConfig?: Record<string, any>;
46+
// 支持传入更多 XHRUpload 配置项
47+
xhrConfig?: Record<string, any>;
4448
}

packages/editor/CHANGELOG.md

+14
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# Change Log
22

3+
## 5.6.33
4+
5+
### Patch Changes
6+
7+
- 71397d4: feat: enhance upload configuration with additional Uppy and XHRUpload options
8+
- Updated dependencies [71397d4]
9+
- @wangeditor-next/core@1.7.33
10+
- @wangeditor-next/basic-modules@1.5.33
11+
- @wangeditor-next/code-highlight@1.3.30
12+
- @wangeditor-next/list-module@1.1.39
13+
- @wangeditor-next/table-module@1.6.43
14+
- @wangeditor-next/upload-image-module@1.1.36
15+
- @wangeditor-next/video-module@1.3.39
16+
317
## 5.6.32
418

519
### Patch Changes

packages/editor/package.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wangeditor-next/editor",
3-
"version": "5.6.32",
3+
"version": "5.6.33",
44
"description": "Web rich text editor, Web 富文本编辑器",
55
"keywords": [
66
"wangeditor",
@@ -55,13 +55,13 @@
5555
"dependencies": {
5656
"@uppy/core": "^2.1.1",
5757
"@uppy/xhr-upload": "^2.0.3",
58-
"@wangeditor-next/basic-modules": "~1.5.32",
59-
"@wangeditor-next/code-highlight": "~1.3.29",
60-
"@wangeditor-next/core": "~1.7.32",
61-
"@wangeditor-next/list-module": "~1.1.38",
62-
"@wangeditor-next/table-module": "~1.6.42",
63-
"@wangeditor-next/upload-image-module": "~1.1.35",
64-
"@wangeditor-next/video-module": "~1.3.38",
58+
"@wangeditor-next/basic-modules": "~1.5.33",
59+
"@wangeditor-next/code-highlight": "~1.3.30",
60+
"@wangeditor-next/core": "~1.7.33",
61+
"@wangeditor-next/list-module": "~1.1.39",
62+
"@wangeditor-next/table-module": "~1.6.43",
63+
"@wangeditor-next/upload-image-module": "~1.1.36",
64+
"@wangeditor-next/video-module": "~1.3.39",
6565
"dom7": "^4.0.0",
6666
"is-hotkey": "^0.2.0",
6767
"lodash.camelcase": "^4.3.0",

packages/list-module/CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Change Log
22

3+
## 1.1.39
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [71397d4]
8+
- @wangeditor-next/core@1.7.33
9+
310
## 1.1.38
411

512
### Patch Changes

packages/list-module/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wangeditor-next/list-module",
3-
"version": "1.1.38",
3+
"version": "1.1.39",
44
"description": "wangEditor list module",
55
"author": "cycleccc <2991205548@qq.com>",
66
"type": "module",
@@ -44,7 +44,7 @@
4444
"url": "https://github.com/wangeditor-next/wangeditor-next/issues"
4545
},
4646
"peerDependencies": {
47-
"@wangeditor-next/core": "1.7.32",
47+
"@wangeditor-next/core": "1.7.33",
4848
"dom7": "^3.0.0 || ^4.0.0",
4949
"slate": "^0.72.0",
5050
"snabbdom": "^3.6.0"

packages/plugin-float-image/CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @wangeditor-next/plugin-float-image
22

3+
## 1.0.18
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [71397d4]
8+
- @wangeditor-next/editor@5.6.33
9+
310
## 1.0.17
411

512
### Patch Changes

packages/plugin-float-image/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wangeditor-next/plugin-float-image",
3-
"version": "1.0.17",
3+
"version": "1.0.18",
44
"description": "wangEditor float image plugin",
55
"author": "cycleccc <2991205548@qq.com>",
66
"type": "module",
@@ -41,7 +41,7 @@
4141
"url": "https://github.com/wangeditor-next/wangeditor-next/issues"
4242
},
4343
"peerDependencies": {
44-
"@wangeditor-next/editor": "5.6.32",
44+
"@wangeditor-next/editor": "5.6.33",
4545
"dom7": "^3.0.0 || ^4.0.0",
4646
"slate": "^0.72.0",
4747
"snabbdom": "^3.6.0"

packages/plugin-formula/CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @wangeditor-next/plugin-formula
22

3+
## 1.0.18
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [71397d4]
8+
- @wangeditor-next/editor@5.6.33
9+
310
## 1.0.17
411

512
### Patch Changes

packages/plugin-formula/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wangeditor-next/plugin-formula",
3-
"version": "1.0.17",
3+
"version": "1.0.18",
44
"description": "wangEditor next formula 公式",
55
"author": "cycleccc <2991205548@qq.com>",
66
"type": "module",
@@ -44,7 +44,7 @@
4444
"katex": "^0.16.0"
4545
},
4646
"peerDependencies": {
47-
"@wangeditor-next/editor": "5.6.32",
47+
"@wangeditor-next/editor": "5.6.33",
4848
"katex": "^0.16.0",
4949
"snabbdom": "^3.6.0"
5050
},

packages/plugin-link-card/CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @wangeditor-next/plugin-link-card
22

3+
## 1.0.18
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [71397d4]
8+
- @wangeditor-next/editor@5.6.33
9+
310
## 1.0.17
411

512
### Patch Changes

packages/plugin-link-card/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wangeditor-next/plugin-link-card",
3-
"version": "1.0.17",
3+
"version": "1.0.18",
44
"description": "wangEditor link card plugin",
55
"author": "cycleccc <2991205548@qq.com>",
66
"type": "module",
@@ -41,7 +41,7 @@
4141
"url": "https://github.com/wangeditor-next/wangeditor-next/issues"
4242
},
4343
"peerDependencies": {
44-
"@wangeditor-next/editor": "5.6.32",
44+
"@wangeditor-next/editor": "5.6.33",
4545
"dom7": "^3.0.0 || ^4.0.0",
4646
"slate": "^0.72.0",
4747
"snabbdom": "^3.6.0"

packages/plugin-markdown/CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @wangeditor-next/plugin-markdown
22

3+
## 1.0.18
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [71397d4]
8+
- @wangeditor-next/editor@5.6.33
9+
310
## 1.0.17
411

512
### Patch Changes

packages/plugin-markdown/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wangeditor-next/plugin-markdown",
3-
"version": "1.0.17",
3+
"version": "1.0.18",
44
"description": "wangEditor markdown plugin",
55
"author": "cycleccc <2991205548@qq.com>",
66
"type": "module",
@@ -41,7 +41,7 @@
4141
"url": "https://github.com/wangeditor-next/wangeditor-next/issues"
4242
},
4343
"peerDependencies": {
44-
"@wangeditor-next/editor": "5.6.32",
44+
"@wangeditor-next/editor": "5.6.33",
4545
"dom7": "^3.0.0 || ^4.0.0",
4646
"slate": "^0.72.0",
4747
"snabbdom": "^3.6.0"

packages/plugin-mention/CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @wangeditor-next/plugin-mention
22

3+
## 1.0.3
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [71397d4]
8+
- @wangeditor-next/editor@5.6.33
9+
310
## 1.0.2
411

512
### Patch Changes

packages/plugin-mention/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wangeditor-next/plugin-mention",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "wangEditor mention plugin",
55
"author": "cycleccc <2991205548@qq.com>",
66
"type": "module",
@@ -41,7 +41,7 @@
4141
"url": "https://github.com/wangeditor-next/wangeditor-next/issues"
4242
},
4343
"peerDependencies": {
44-
"@wangeditor-next/editor": "5.6.32",
44+
"@wangeditor-next/editor": "5.6.33",
4545
"snabbdom": "^3.6.0"
4646
}
4747
}

packages/table-module/CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Change Log
22

3+
## 1.6.43
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [71397d4]
8+
- @wangeditor-next/core@1.7.33
9+
310
## 1.6.42
411

512
### Patch Changes

0 commit comments

Comments
 (0)