This commit is contained in:
Vanessa 2022-10-27 23:06:50 +08:00
parent ccef05208b
commit fae96fd141
4 changed files with 10 additions and 11 deletions

View file

@ -197,7 +197,7 @@ export class WYSIWYG {
}
event.stopPropagation();
event.preventDefault();
window.siyuan.ctrlIsPressed = false // https://github.com/siyuan-note/siyuan/issues/6373
window.siyuan.ctrlIsPressed = false; // https://github.com/siyuan-note/siyuan/issues/6373
const range = getEditorRange(protyle.wysiwyg.element);
const nodeElement = hasClosestBlock(range.startContainer);
if (!nodeElement) {