mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
🎨 网络图片转换为本地图片 支持处理 file:// 本地路径图片 Fix https://github.com/siyuan-note/siyuan/issues/6546
This commit is contained in:
parent
6a31ab85aa
commit
b07ff24307
4 changed files with 35 additions and 9 deletions
|
|
@ -208,3 +208,7 @@ func FilterSelfChildDocs(paths []string) (ret []string) {
|
|||
}
|
||||
return
|
||||
}
|
||||
|
||||
func IsAssetLinkDest(dest []byte) bool {
|
||||
return bytes.HasPrefix(dest, []byte("assets/"))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue