mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 00:50:13 +01:00
This commit is contained in:
parent
72a1dc05dd
commit
f3f26021a7
1 changed files with 2 additions and 0 deletions
|
|
@ -697,6 +697,8 @@ export const dropEvent = (protyle: IProtyle, editorElement: HTMLElement) => {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!window.siyuan.dragElement) {
|
if (!window.siyuan.dragElement) {
|
||||||
|
// https://github.com/siyuan-note/siyuan/issues/6436
|
||||||
|
event.preventDefault();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (event.shiftKey || event.altKey) {
|
if (event.shiftKey || event.altKey) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue