Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:bug: https://github.com/siyuan-note/siyuan/issues/11098

Vanessad0aa41d1dda4
diff --git a/app/src/protyle/render/av/action.ts b/app/src/protyle/render/av/action.ts
index 3f918291e3..cea97fbf11 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");