🚨
This commit is contained in:
parent
235f8f8a6a
commit
a403eb8b04
3 changed files with 3 additions and 3 deletions
|
@ -357,7 +357,7 @@ export const updatePanelByEditor = (protyle?: IProtyle, focus = true, pushBackSt
|
|||
const models = getAllModels();
|
||||
updateOutline(models, protyle, reload);
|
||||
updateBacklinkGraph(models, protyle);
|
||||
setTitle(title, protyle);
|
||||
setTitle(title);
|
||||
};
|
||||
|
||||
export const isCurrentEditor = (blockId: string) => {
|
||||
|
|
|
@ -282,7 +282,7 @@ export class Title {
|
|||
title: fileName,
|
||||
});
|
||||
this.setTitle(fileName);
|
||||
setTitle(fileName, protyle);
|
||||
setTitle(fileName);
|
||||
}, Constants.TIMEOUT_INPUT);
|
||||
}
|
||||
|
||||
|
|
|
@ -121,7 +121,7 @@ export const onGet = (data: IWebSocketData, protyle: IProtyle, action: string[]
|
|||
unScroll: (scrollObj && scrollObj.focusId) ? true : false,
|
||||
isSyncing: data.data.isSyncing,
|
||||
}, protyle);
|
||||
setTitle(response.data.ial.title, protyle);
|
||||
setTitle(response.data.ial.title);
|
||||
if (scrollObj && protyle.options.mode !== "preview") {
|
||||
restoreScroll(protyle, scrollObj);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue