Skip to content

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

:art: fix https://github.com/siyuan-note/siyuan/issues/9550

Vanessad866bdf42639
diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts
index b88e9f4765..0635c78d1c 100644
--- a/app/src/protyle/wysiwyg/index.ts
+++ b/app/src/protyle/wysiwyg/index.ts
@@ -1814,7 +1814,7 @@ export class WYSIWYG {
openByMobile(linkAddress);
/// #endif
}
- } else {
+ } else if (linkAddress) {
/// #if !BROWSER
shell.openExternal(linkAddress).catch((e) => {
showMessage(e);