Vanessa 2023-07-05 00:51:10 +08:00
parent bd484dae34
commit 2e18312de3
7 changed files with 243 additions and 177 deletions

View file

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