Vanessa 2023-04-17 22:17:47 +08:00
parent f244c11775
commit 80c1b0350d

View file

@ -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) {