Vanessa 2024-03-27 20:24:15 +08:00
parent 6d69b82ae4
commit 53b62fe5f4

View file

@ -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});
});
});
};