🎨 Linux 端不再支持 粘贴为纯文本 时处理文件绝对路径 Fix https://github.com/siyuan-note/siyuan/issues/5825

This commit is contained in:
Liang Ding 2022-09-05 21:53:14 +08:00
parent a95757c84a
commit 49b5e896ae
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -27,7 +27,7 @@ func readFilePaths(c *gin.Context) {
defer c.JSON(200, ret)
var paths []string
if !gulu.OS.IsLinux() {
if !gulu.OS.IsLinux() { // Linux 端不再支持 `粘贴为纯文本` 时处理文件绝对路径 https://github.com/siyuan-note/siyuan/issues/5825
paths, _ = clipboard.ReadFilePaths()
}
if 1 > len(paths) {