mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 09:30:14 +01:00
This commit is contained in:
parent
f244c11775
commit
80c1b0350d
1 changed files with 1 additions and 0 deletions
|
|
@ -307,6 +307,7 @@ export const hintRef = (key: string, protyle: IProtyle, isQuick = false): IHintD
|
||||||
id: nodeElement ? nodeElement.getAttribute("data-node-id") : protyle.block.parentID,
|
id: nodeElement ? nodeElement.getAttribute("data-node-id") : protyle.block.parentID,
|
||||||
beforeLen: Math.floor((Math.max(protyle.element.clientWidth / 2, 320) - 58) / 28.8),
|
beforeLen: Math.floor((Math.max(protyle.element.clientWidth / 2, 320) - 58) / 28.8),
|
||||||
rootID: protyle.block.rootID,
|
rootID: protyle.block.rootID,
|
||||||
|
onlyDoc: ["[[", "【【"].includes(protyle.hint.splitChar)
|
||||||
}, (response) => {
|
}, (response) => {
|
||||||
const dataList: IHintData[] = [];
|
const dataList: IHintData[] = [];
|
||||||
if (response.data.newDoc) {
|
if (response.data.newDoc) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue