mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-18 14:35:27 +01:00
🎨 Display a confirmation prompt when inserting large assets 256MB https://github.com/siyuan-note/siyuan/issues/16685
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
bbfe30d629
commit
b93b8c039d
1 changed files with 0 additions and 3 deletions
|
|
@ -33,9 +33,6 @@ func readFilePaths(c *gin.Context) {
|
|||
if !gulu.OS.IsLinux() { // Linux 端不再支持 `粘贴为纯文本` 时处理文件绝对路径 https://github.com/siyuan-note/siyuan/issues/5825
|
||||
paths, _ = clipboard.ReadFilePaths()
|
||||
}
|
||||
if 1 > len(paths) {
|
||||
paths = []string{}
|
||||
}
|
||||
|
||||
data := map[string]map[string]any{}
|
||||
for _, path := range paths {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue