Procházet zdrojové kódy

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

Vanessa před 9 měsíci
rodič
revize
56e64c9b7e
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  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;
                     if (lastCellElement) {
                         dragFillCellsValue(protyle, nodeElement, originData, originCellIds);
-                        addDragFill(lastCellElement);
+                        const allActiveCellsElement = nodeElement.querySelectorAll(".av__cell--active")
+                        addDragFill(allActiveCellsElement[allActiveCellsElement.length - 1]);
                     }
                     return false;
                 };