This commit is contained in:
Vanessa 2022-10-27 23:05:54 +08:00
parent b017c4c356
commit ccef05208b

View file

@ -197,6 +197,7 @@ export class WYSIWYG {
}
event.stopPropagation();
event.preventDefault();
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) {