Vanessa 2022-11-01 18:19:17 +08:00
parent 72a1dc05dd
commit f3f26021a7

View file

@ -697,6 +697,8 @@ export const dropEvent = (protyle: IProtyle, editorElement: HTMLElement) => {
return;
}
if (!window.siyuan.dragElement) {
// https://github.com/siyuan-note/siyuan/issues/6436
event.preventDefault();
return;
}
if (event.shiftKey || event.altKey) {