From 56e64c9b7ec1166b7e8739fc6965ac1624ded7a1 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 30 Oct 2024 23:00:06 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/12907 --- app/src/protyle/wysiwyg/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts index 7554bc9dbd0..bda56d2dedc 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; };