mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
This commit is contained in:
4907
app/pnpm-lock.yaml
generated
4907
app/pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user