mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-30 21:38:48 +01:00
This commit is contained in:
parent
714ef0aaab
commit
e46c998a6b
1 changed files with 2 additions and 0 deletions
|
|
@ -555,6 +555,7 @@ ${genHintItemHTML(item)}
|
|||
type: "id",
|
||||
color: `${response.data}${Constants.ZWSP}${refIsS ? "s" : "d"}${Constants.ZWSP}${(refIsS ? fileNames[0] : realFileName).substring(0, window.siyuan.config.editor.blockRefDynamicAnchorTextMaxLen)}`
|
||||
});
|
||||
protyle.toolbar.range.collapse(false);
|
||||
});
|
||||
});
|
||||
return;
|
||||
|
|
@ -588,6 +589,7 @@ ${genHintItemHTML(item)}
|
|||
type: "id",
|
||||
color: `${tempElement.getAttribute("data-id")}${Constants.ZWSP}${tempElement.getAttribute("data-subtype")}${Constants.ZWSP}${tempElement.textContent}`
|
||||
});
|
||||
protyle.toolbar.range.collapse(false);
|
||||
return;
|
||||
} else if (this.splitChar === ":") {
|
||||
addEmoji(value);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue