mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 10:00:13 +01:00
🚨
This commit is contained in:
parent
b1ee790ee2
commit
a8072882fc
5 changed files with 24 additions and 16 deletions
|
|
@ -23,8 +23,6 @@ import {showMessage} from "../dialog/message";
|
|||
import {openFileById, updatePanelByEditor} from "../editor/util";
|
||||
import {scrollCenter} from "../util/highlightById";
|
||||
import {getAllModels} from "./getAll";
|
||||
import {fetchPost} from "../util/fetch";
|
||||
import {onGet} from "../protyle/util/onGet";
|
||||
import {countBlockWord} from "./status";
|
||||
import {saveScroll} from "../protyle/scroll/saveScroll";
|
||||
|
||||
|
|
@ -312,7 +310,7 @@ export class Wnd {
|
|||
}
|
||||
});
|
||||
|
||||
const initData = currentTab.headElement.getAttribute("data-initdata")
|
||||
const initData = currentTab.headElement.getAttribute("data-initdata");
|
||||
if (initData) {
|
||||
const json = JSON.parse(initData);
|
||||
currentTab.addModel(new Editor({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue