mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
This commit is contained in:
parent
24285aae56
commit
fd83286438
1 changed files with 1 additions and 1 deletions
|
@ -750,7 +750,7 @@ export const newModelByInitData = (app: App, tab: Tab, json: any) => {
|
|||
rootId: json.rootId,
|
||||
blockId: json.blockId,
|
||||
mode: json.mode,
|
||||
action: typeof json.action === "string" ? [json.action] : json.action,
|
||||
action: typeof json.action === "string" ? [json.action, Constants.CB_GET_FOCUS] : json.action.concat(Constants.CB_GET_FOCUS),
|
||||
});
|
||||
}
|
||||
return model;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue