Vanessa 2024-05-04 15:20:24 +08:00
parent dc90ac1ec7
commit 6eedc7cd0b
2 changed files with 2190 additions and 2721 deletions

4907
app/pnpm-lock.yaml generated

File diff suppressed because it is too large Load diff

View file

@ -1746,6 +1746,10 @@ export class WYSIWYG {
});
this.element.addEventListener("paste", (event: ClipboardEvent & { target: HTMLElement }) => {
// https://github.com/siyuan-note/siyuan/issues/11241
if (event.target.localName === "input" && event.target.getAttribute("data-type") === "av-search") {
return;
}
if (protyle.disabled) {
event.stopPropagation();
event.preventDefault();