Skip to content

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

:art: https://github.com/siyuan-note/siyuan/issues/16409

Vanessa69c2afbd1866
diff --git a/app/src/protyle/render/av/action.ts b/app/src/protyle/render/av/action.ts
index 0e87428cce..7aa2c536a3 100644
--- a/app/src/protyle/render/av/action.ts
+++ b/app/src/protyle/render/av/action.ts
@@ -252,7 +252,7 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle
id: target.dataset.id,
data: !isOpen
}]);
- }, Constants.TIMEOUT_TRANSITION);
+ }, Constants.TIMEOUT_COUNT);
event.preventDefault();
event.stopPropagation();
return true;
diff --git a/app/src/protyle/util/paste.ts b/app/src/protyle/util/paste.ts
index f39a3c98a8..0bb5eb0295 100644
--- a/app/src/protyle/util/paste.ts
+++ b/app/src/protyle/util/paste.ts
@@ -408,7 +408,6 @@ export const paste = async (protyle: IProtyle, event: (ClipboardEvent | DragEven
tempElement.querySelectorAll("[data-node-id]").forEach((e) => {
const newId = Lute.NewNodeID();
e.setAttribute("data-node-id", newId);
- e.classList.remove("protyle-wysiwyg--select", "protyle-wysiwyg--hl");
clearBlockElement(e);
isBlock = true;
});