mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-01 02:10:15 +01:00
This commit is contained in:
parent
bd484dae34
commit
2e18312de3
7 changed files with 243 additions and 177 deletions
|
|
@ -56,7 +56,6 @@ export const openMobileFileById = (app: App, id: string, action = [Constants.CB_
|
|||
mode: action.includes(Constants.CB_GET_CONTEXT) ? 3 : 0,
|
||||
}, getResponse => {
|
||||
onGet({data: getResponse, protyle: window.siyuan.mobile.editor.protyle, action});
|
||||
window.siyuan.mobile.editor.protyle.breadcrumb?.genMobileIcon(window.siyuan.mobile.editor.protyle.block.rootID);
|
||||
});
|
||||
window.siyuan.mobile.editor.protyle.undo.clear();
|
||||
} else {
|
||||
|
|
@ -77,7 +76,6 @@ export const openMobileFileById = (app: App, id: string, action = [Constants.CB_
|
|||
if (window.siyuan.config.readonly || window.siyuan.config.editor.readOnly) {
|
||||
disabledProtyle(editor.protyle);
|
||||
}
|
||||
editor.protyle.breadcrumb?.genMobileIcon(editor.protyle.block.rootID);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue