From d0aa41d1dda498a63972aef00e5e3f959e7b04ec Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 7 Aug 2024 22:53:51 +0800 Subject: [PATCH] :bug: https://github.com/siyuan-note/siyuan/issues/11098 --- app/src/protyle/render/av/action.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/protyle/render/av/action.ts b/app/src/protyle/render/av/action.ts index 3f918291e..cea97fbf1 100644 --- a/app/src/protyle/render/av/action.ts +++ b/app/src/protyle/render/av/action.ts @@ -91,7 +91,7 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle searchElement.style.width = "128px"; searchElement.style.paddingLeft = ""; searchElement.style.paddingRight = ""; - searchElement.value = Constants.ZWSP; + searchElement.value = "t"; // setTimeout(() => { // searchElement.focus(); // }, Constants.TIMEOUT_TRANSITION); @@ -496,7 +496,7 @@ export const removeAttrViewColAnimation = (blockElement: Element, id: string) => }); }; -export const duplicateCompletely = (protyle:IProtyle, nodeElement:HTMLElement) => { +export const duplicateCompletely = (protyle: IProtyle, nodeElement: HTMLElement) => { fetchPost("/api/av/duplicateAttributeViewBlock", {avID: nodeElement.getAttribute("data-av-id")}, (response) => { nodeElement.classList.remove("protyle-wysiwyg--select"); const tempElement = document.createElement("template");