mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 18:10:12 +01:00
This commit is contained in:
parent
66ee7d4715
commit
0337d12bef
6 changed files with 20 additions and 14 deletions
|
|
@ -329,6 +329,11 @@ export const zoomOut = (protyle: IProtyle, id: string, focusId?: string, isPushB
|
|||
}
|
||||
}
|
||||
if (window.siyuan.mobileEditor) {
|
||||
window.localStorage.setItem(Constants.LOCAL_DOCINFO, JSON.stringify({
|
||||
id,
|
||||
hasContext: id === protyle.block.rootID,
|
||||
action: id === protyle.block.rootID ? [Constants.CB_GET_HL] : [Constants.CB_GET_ALL]
|
||||
}));
|
||||
window.siyuan.backStack.push({
|
||||
id: protyle.block.id,
|
||||
scrollTop: protyle.contentElement.scrollTop,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue