This commit is contained in:
Vanessa 2024-10-29 23:01:31 +08:00
parent 24856a1c84
commit 7e37563fcd
12 changed files with 26 additions and 28 deletions

View file

@ -244,7 +244,7 @@ const readLocalFile = async (protyle: IProtyle, localFiles: string[]) => {
}
uploadLocalFiles(localFiles, protyle, true);
writeText("");
}
};
export const paste = async (protyle: IProtyle, event: (ClipboardEvent | DragEvent) & { target: HTMLElement }) => {
event.stopPropagation();