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/10766

Vanessa53b62fe5f432
diff --git a/app/src/mobile/editor.ts b/app/src/mobile/editor.ts
index 055946fe05..f2d70e6611 100644
--- a/app/src/mobile/editor.ts
+++ b/app/src/mobile/editor.ts
@@ -94,5 +94,8 @@ export const openMobileFileById = (app: App, id: string, action = [Constants.CB_
(document.getElementById("toolbarName") as HTMLInputElement).value = data.data.rootTitle === window.siyuan.languages.untitled ? "" : data.data.rootTitle;
setEditor();
closePanel();
+ app.plugins.forEach(item => {
+ item.eventBus.emit("switch-protyle", {protyle: window.siyuan.mobile.editor.protyle});
+ });
});
};