Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:bug: https://github.com/siyuan-note/siyuan/issues/17880

Danield55554f37406
diff --git a/app/src/protyle/render/av/asset.ts b/app/src/protyle/render/av/asset.ts
index 77a0b22d90..a8d4f95e2f 100644
--- a/app/src/protyle/render/av/asset.ts
+++ b/app/src/protyle/render/av/asset.ts
@@ -365,10 +365,10 @@ export const editAssetItem = (options: {
submenu: openSubMenu
}).element);
}
- if (linkAddress?.startsWith("assets/")) {
- window.siyuan.menus.menu.append(new MenuItem(exportAsset(decodeURI(linkAddress))).element);
- window.siyuan.menus.menu.append(new MenuItem(writeAssetToClipboard(decodeURI(linkAddress))).element);
- }
+ if (linkAddress?.startsWith("assets/")) {
+ window.siyuan.menus.menu.append(new MenuItem(exportAsset(decodeURI(linkAddress))).element);
+ window.siyuan.menus.menu.append(new MenuItem(writeAssetToClipboard(decodeURI(linkAddress))).element);
+ }
const rect = options.rect;
/// #if MOBILE
menu.fullscreen();