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: https://github.com/siyuan-note/siyuan/issues/8554
Vanessa1ad2e8d6447e
diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.tsindex af1278fce4..e39afba064 100644--- a/app/src/protyle/wysiwyg/index.ts+++ b/app/src/protyle/wysiwyg/index.ts@@ -1348,8 +1348,11 @@ export class WYSIWYG {// 内容区域使用浏览器原生选区,跨块选择时保留各行内元素自身的选中样式。if (!startsFromPadding && !tableBlockElement) {- documentSelf.onmouseup = () => {+ documentSelf.onmouseup = (mouseUpEvent) => {documentSelf.onmouseup = null;+ if (this.element.contains(mouseUpEvent.target as Node)) {+ return;+ }setTimeout(() => {if (getSelection().rangeCount > 0) {const range = getSelection().getRangeAt(0);