Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
ca330e2557
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
Reference in a new issue