This commit is contained in:
Vanessa 2024-09-23 23:36:24 +08:00 committed by Daniel
parent 70fb00e77b
commit e4e211a260
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -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[]) => {