mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-22 08:16:10 +01:00
🎨 shift+click 失效
This commit is contained in:
parent
0608dd0b80
commit
46b4406806
1 changed files with 2 additions and 1 deletions
|
|
@ -493,6 +493,7 @@ export class WYSIWYG {
|
|||
previousList.concat(nextList).forEach(item => {
|
||||
item.classList.add("av__gallery-item--select");
|
||||
});
|
||||
event.preventDefault();
|
||||
} else if (startElement && endElement && !startElement.isSameNode(endElement)) {
|
||||
let toDown = true;
|
||||
const startRect = startElement.getBoundingClientRect();
|
||||
|
|
@ -581,8 +582,8 @@ export class WYSIWYG {
|
|||
focusBlock(selectElements[0], protyle.wysiwyg.element, false);
|
||||
}
|
||||
}
|
||||
event.preventDefault();
|
||||
}
|
||||
event.preventDefault();
|
||||
return;
|
||||
}
|
||||
if (isOnlyMeta(event) && !event.shiftKey && !event.altKey) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue