mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-11 06:30:57 +08:00
🚨
This commit is contained in:
parent
235f8f8a6a
commit
a403eb8b04
@ -357,7 +357,7 @@ export const updatePanelByEditor = (protyle?: IProtyle, focus = true, pushBackSt
|
|||||||
const models = getAllModels();
|
const models = getAllModels();
|
||||||
updateOutline(models, protyle, reload);
|
updateOutline(models, protyle, reload);
|
||||||
updateBacklinkGraph(models, protyle);
|
updateBacklinkGraph(models, protyle);
|
||||||
setTitle(title, protyle);
|
setTitle(title);
|
||||||
};
|
};
|
||||||
|
|
||||||
export const isCurrentEditor = (blockId: string) => {
|
export const isCurrentEditor = (blockId: string) => {
|
||||||
|
@ -282,7 +282,7 @@ export class Title {
|
|||||||
title: fileName,
|
title: fileName,
|
||||||
});
|
});
|
||||||
this.setTitle(fileName);
|
this.setTitle(fileName);
|
||||||
setTitle(fileName, protyle);
|
setTitle(fileName);
|
||||||
}, Constants.TIMEOUT_INPUT);
|
}, Constants.TIMEOUT_INPUT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -121,7 +121,7 @@ export const onGet = (data: IWebSocketData, protyle: IProtyle, action: string[]
|
|||||||
unScroll: (scrollObj && scrollObj.focusId) ? true : false,
|
unScroll: (scrollObj && scrollObj.focusId) ? true : false,
|
||||||
isSyncing: data.data.isSyncing,
|
isSyncing: data.data.isSyncing,
|
||||||
}, protyle);
|
}, protyle);
|
||||||
setTitle(response.data.ial.title, protyle);
|
setTitle(response.data.ial.title);
|
||||||
if (scrollObj && protyle.options.mode !== "preview") {
|
if (scrollObj && protyle.options.mode !== "preview") {
|
||||||
restoreScroll(protyle, scrollObj);
|
restoreScroll(protyle, scrollObj);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user