mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-27 03:48:48 +01:00
🎨
This commit is contained in:
parent
054263d8e9
commit
bee64b86fd
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue