mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-19 21:48:06 +01:00
This commit is contained in:
parent
228da65358
commit
3abccfe676
10 changed files with 101 additions and 83 deletions
|
|
@ -66,7 +66,9 @@ export const setModelsHash = () => {
|
|||
const initTab = tab.headElement.getAttribute("data-initdata");
|
||||
if (initTab) {
|
||||
const initTabData = JSON.parse(initTab);
|
||||
hash += initTabData.rootId + Constants.ZWSP;
|
||||
if (initTabData.instance === "Editor") {
|
||||
hash += initTabData.rootId + Constants.ZWSP;
|
||||
}
|
||||
}
|
||||
} else if (tab.model instanceof Editor) {
|
||||
hash += tab.model.editor.protyle.block.rootID + Constants.ZWSP;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue