mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
This commit is contained in:
parent
ab3550d44d
commit
523d8d762b
4 changed files with 15 additions and 10 deletions
|
@ -624,12 +624,12 @@ ${genHintItemHTML(item)}
|
|||
}, () => {
|
||||
insertHTML(`<span data-type="block-ref" data-id="${newSubDocId}" data-subtype="d">Untitled</span>`, protyle);
|
||||
/// #if MOBILE
|
||||
openMobileFileById(protyle.app, newSubDocId, [Constants.CB_GET_HL, Constants.CB_GET_CONTEXT]);
|
||||
openMobileFileById(protyle.app, newSubDocId, [Constants.CB_GET_CONTEXT, Constants.CB_GET_OPENNEW]);
|
||||
/// #else
|
||||
openFileById({
|
||||
app: protyle.app,
|
||||
id: newSubDocId,
|
||||
action: [Constants.CB_GET_HL, Constants.CB_GET_CONTEXT]
|
||||
action: [Constants.CB_GET_CONTEXT, Constants.CB_GET_OPENNEW]
|
||||
});
|
||||
/// #endif
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue