Преглед на файлове

:art: https://github.com/siyuan-note/siyuan/issues/12907

Vanessa преди 9 месеца
родител
ревизия
56e64c9b7e
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      app/src/protyle/wysiwyg/index.ts

+ 2 - 1
app/src/protyle/wysiwyg/index.ts

@@ -565,7 +565,8 @@ export class WYSIWYG {
                     documentSelf.onselect = null;
                     documentSelf.onselect = null;
                     if (lastCellElement) {
                     if (lastCellElement) {
                         dragFillCellsValue(protyle, nodeElement, originData, originCellIds);
                         dragFillCellsValue(protyle, nodeElement, originData, originCellIds);
-                        addDragFill(lastCellElement);
+                        const allActiveCellsElement = nodeElement.querySelectorAll(".av__cell--active")
+                        addDragFill(allActiveCellsElement[allActiveCellsElement.length - 1]);
                     }
                     }
                     return false;
                     return false;
                 };
                 };