From d832bfae1c54686e7cf2e20c7457c293fb888816 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Tue, 9 Jan 2024 21:47:02 +0800 Subject: [PATCH] :art: --- app/src/protyle/wysiwyg/keydown.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/protyle/wysiwyg/keydown.ts b/app/src/protyle/wysiwyg/keydown.ts index 93d1577c7..b80bdd0bc 100644 --- a/app/src/protyle/wysiwyg/keydown.ts +++ b/app/src/protyle/wysiwyg/keydown.ts @@ -1041,7 +1041,8 @@ export const keydown = (protyle: IProtyle, editorElement: HTMLElement) => { parentID: protyle.block.rootID, markdown: "" }, response => { - insertHTML(`${escapeHtml(newFileName.substring(0, window.siyuan.config.editor.blockRefDynamicAnchorTextMaxLen))}`, protyle); + insertHTML(`${escapeHtml(newFileName.substring(0, window.siyuan.config.editor.blockRefDynamicAnchorTextMaxLen))}`, + protyle, false, true); hideElements(["toolbar"], protyle); }); });