This commit is contained in:
parent
dc90ac1ec7
commit
6eedc7cd0b
2 changed files with 2190 additions and 2721 deletions
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();
|
||||
|
|
Loading…
Add table
Reference in a new issue