mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-27 20:08:49 +01:00
This commit is contained in:
parent
6d69b82ae4
commit
53b62fe5f4
1 changed files with 3 additions and 0 deletions
|
|
@ -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});
|
||||
});
|
||||
});
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue