This commit is contained in:
parent
a3cecb99e0
commit
86804f1c1d
1 changed files with 3 additions and 0 deletions
|
@ -912,6 +912,9 @@ export class WYSIWYG {
|
|||
|
||||
this.element.addEventListener("cut", (event: ClipboardEvent & { target: HTMLElement }) => {
|
||||
window.siyuan.ctrlIsPressed = false; // https://github.com/siyuan-note/siyuan/issues/6373
|
||||
if (protyle.disabled) {
|
||||
return;
|
||||
}
|
||||
if (event.target.tagName === "PROTYLE-HTML") {
|
||||
event.stopPropagation();
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue