An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: Unable to start selection from the .protyle-action element of the code block (#14997)
Jeffrey Chencfc1fff791b1
diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.tsindex 27c1c7b8c4..caafa4c393 100644--- a/app/src/protyle/wysiwyg/index.ts+++ b/app/src/protyle/wysiwyg/index.ts@@ -643,7 +643,7 @@ export class WYSIWYG {clearSelect(["img", "av"], protyle.wysiwyg.element);}- if (hasClosestByClassName(target, "protyle-action") ||+ if ((hasClosestByClassName(target, "protyle-action") && !hasClosestByClassName(target, "code-block") )||(hasClosestByClassName(target, "av__cell--header") && !hasClosestByClassName(target, "av__widthdrag"))) {return;}