mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-19 02:21:38 +08:00
🎨
This commit is contained in:
parent
054263d8e9
commit
bee64b86fd
@ -559,7 +559,7 @@ export const layoutToJSON = (layout: Layout | Wnd | Tab | Model, json: any, brea
|
||||
}
|
||||
}
|
||||
json.instance = "Tab";
|
||||
json.activeTime = layout.headElement.getAttribute("data-activetime");
|
||||
json.activeTime = layout.headElement?.getAttribute("data-activetime");
|
||||
} else if (layout instanceof Editor) {
|
||||
if (!layout.editor.protyle.notebookId && breakObj) {
|
||||
breakObj.editor = "true";
|
||||
|
Loading…
Reference in New Issue
Block a user