Vanessa 9 months ago
parent
commit
e4e211a260
1 changed files with 5 additions and 0 deletions
  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) => {
     avMaskElement.addEventListener("contextmenu", (event) => {
         removeAvMask(event);
         removeAvMask(event);
     });
     });
+    avMaskElement.addEventListener("mousedown", (event:MouseEvent) => {
+        if (event.button === 1) {
+            removeAvMask(event);
+        }
+    });
 };
 };
 
 
 const updateCellValueByInput = (protyle: IProtyle, type: TAVCol, blockElement: HTMLElement, cellElements: HTMLElement[]) => {
 const updateCellValueByInput = (protyle: IProtyle, type: TAVCol, blockElement: HTMLElement, cellElements: HTMLElement[]) => {