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/12907

Vanessa56e64c9b7ec1
diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts
index 7554bc9dbd..bda56d2ded 100644
--- a/app/src/protyle/wysiwyg/index.ts
+++ b/app/src/protyle/wysiwyg/index.ts
@@ -565,7 +565,8 @@ export class WYSIWYG {
documentSelf.onselect = null;
if (lastCellElement) {
dragFillCellsValue(protyle, nodeElement, originData, originCellIds);
- addDragFill(lastCellElement);
+ const allActiveCellsElement = nodeElement.querySelectorAll(".av__cell--active")
+ addDragFill(allActiveCellsElement[allActiveCellsElement.length - 1]);
}
return false;
};