An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:rotating_light:
Vanessa06ce692180b4
diff --git a/app/src/protyle/render/av/blockAttr.ts b/app/src/protyle/render/av/blockAttr.tsindex ca9ac36af7..39b133b6f3 100644--- a/app/src/protyle/render/av/blockAttr.ts+++ b/app/src/protyle/render/av/blockAttr.ts@@ -289,8 +289,8 @@ class="fn__flex-1 fn__flex${["url", "text", "number", "email", "phone", "block"]} else {const textPlain = event.clipboardData.getData("text/plain");const target = event.target as HTMLElement;- const blockElement = hasClosestBlock(target)- const cellsElement = hasClosestByAttribute(target, "data-type", "mAsset")+ const blockElement = hasClosestBlock(target);+ const cellsElement = hasClosestByAttribute(target, "data-type", "mAsset");if (blockElement && cellsElement && textPlain) {updateCellsValue(protyle, blockElement as HTMLElement, textPlain, [cellsElement], undefined, protyle.lute.Md2BlockDOM(textPlain));document.querySelector(".av__panel")?.remove();diff --git a/app/src/protyle/wysiwyg/transaction.ts b/app/src/protyle/wysiwyg/transaction.tsindex 3a4665b9d4..a31ea14738 100644--- a/app/src/protyle/wysiwyg/transaction.ts+++ b/app/src/protyle/wysiwyg/transaction.ts@@ -5,7 +5,7 @@ import {Constants} from "../../constants";import {blockRender} from "../render/blockRender";import {processRender} from "../util/processCode";import {highlightRender} from "../render/highlightRender";-import {hasClosestBlock, hasClosestByAttribute, isInEmbedBlock} from "../util/hasClosest";+import {hasClosestByAttribute, isInEmbedBlock} from "../util/hasClosest";import {setFold, zoomOut} from "../../menus/protyle";import {disabledProtyle, enableProtyle, onGet} from "../util/onGet";/// #if !MOBILE