Vanessa před 9 měsíci
rodič
revize
e4e211a260
1 změnil soubory, kde provedl 5 přidání a 0 odebrání
  1. 5 0
      app/src/protyle/render/av/cell.ts

+ 5 - 0
app/src/protyle/render/av/cell.ts

@@ -498,6 +498,11 @@ export const popTextCell = (protyle: IProtyle, cellElements: HTMLElement[], type
     avMaskElement.addEventListener("contextmenu", (event) => {
         removeAvMask(event);
     });
+    avMaskElement.addEventListener("mousedown", (event:MouseEvent) => {
+        if (event.button === 1) {
+            removeAvMask(event);
+        }
+    });
 };
 
 const updateCellValueByInput = (protyle: IProtyle, type: TAVCol, blockElement: HTMLElement, cellElements: HTMLElement[]) => {