Vanessa 2024-09-22 22:42:32 +08:00
parent 2cf0b09282
commit d081e3cad0
5 changed files with 5 additions and 0 deletions

View file

@ -181,6 +181,7 @@ export const openMenuPanel = (options: {
return;
});
avPanelElement.addEventListener("drop", (event) => {
counter = 0;
if (!window.siyuan.dragElement) {
event.preventDefault();
event.stopPropagation();