diff --git a/app/changelogs/v3.1.23/v3.1.23.md b/app/changelogs/v3.1.23/v3.1.23.md index 7d1d99526..a2598ad29 100644 --- a/app/changelogs/v3.1.23/v3.1.23.md +++ b/app/changelogs/v3.1.23/v3.1.23.md @@ -47,6 +47,7 @@ Below are the detailed changes in this version. * [Pasting text with a `>` in the middle no longer creates a blockquote block](https://github.com/siyuan-note/siyuan/issues/14162) * [Display reference counts after unfolding headings](https://github.com/siyuan-note/siyuan/issues/14169) * [Improve find-replace of text containing escape characters](https://github.com/siyuan-note/siyuan/issues/14173) +* [The size limit of inserted assets has been adjusted from 4G to 8G](https://github.com/siyuan-note/siyuan/issues/14188) ### Bugfix diff --git a/app/changelogs/v3.1.23/v3.1.23_zh_CHT.md b/app/changelogs/v3.1.23/v3.1.23_zh_CHT.md index 3701c2b5a..c01277425 100644 --- a/app/changelogs/v3.1.23/v3.1.23_zh_CHT.md +++ b/app/changelogs/v3.1.23/v3.1.23_zh_CHT.md @@ -47,6 +47,7 @@ * [貼上中間包含 `>` 的文字時不再建立引述區塊](https://github.com/siyuan-note/siyuan/issues/14162) * [展開折疊的標題後顯示區塊引用計數](https://github.com/siyuan-note/siyuan/issues/14169) * [改進包含轉義符的文字搜尋替換](https://github.com/siyuan-note/siyuan/issues/14173) +* [插入資源檔案大小限制由 4G 調整為 8G](https://github.com/siyuan-note/siyuan/issues/14188) ### 修復缺陷 diff --git a/app/changelogs/v3.1.23/v3.1.23_zh_CN.md b/app/changelogs/v3.1.23/v3.1.23_zh_CN.md index 97a53003d..d3289654f 100644 --- a/app/changelogs/v3.1.23/v3.1.23_zh_CN.md +++ b/app/changelogs/v3.1.23/v3.1.23_zh_CN.md @@ -47,6 +47,7 @@ * [粘贴中间包含 `>` 的文本时不再创建引述块](https://github.com/siyuan-note/siyuan/issues/14162) * [展开折叠的标题后显示块引用计数](https://github.com/siyuan-note/siyuan/issues/14169) * [改进包含转义符的文本搜索替换](https://github.com/siyuan-note/siyuan/issues/14173) +* [插入资源文件大小限制由 4G 调整为 8G](https://github.com/siyuan-note/siyuan/issues/14188) ### 修复缺陷 diff --git a/app/src/protyle/util/Options.ts b/app/src/protyle/util/Options.ts index c83b175d1..1ea754ea2 100644 --- a/app/src/protyle/util/Options.ts +++ b/app/src/protyle/util/Options.ts @@ -88,7 +88,7 @@ export class Options { toolbar: Constants.PROTYLE_TOOLBAR, typewriterMode: false, upload: { - max: 1024 * 1024 * 1024 * 4, + max: 1024 * 1024 * 1024 * 8, url: Constants.UPLOAD_ADDRESS, extraData: {}, fieldName: "file[]",