Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: #11880

Vanessae4e211a2606f
diff --git a/app/src/protyle/render/av/cell.ts b/app/src/protyle/render/av/cell.ts
index df87cc34c9..326b7abe70 100644
--- a/app/src/protyle/render/av/cell.ts
+++ b/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[]) => {