Vanessa 2023-01-31 21:08:48 +08:00
parent 2b9a618133
commit 8ba3ab0add
3 changed files with 4 additions and 4 deletions

View file

@ -49,9 +49,9 @@ export const pasteAsPlainText = async (protyle: IProtyle) => {
if (localFiles.length > 0) {
uploadLocalFiles(localFiles, protyle, false);
writeText("");
} else {
getCurrentWindow().webContents.pasteAndMatchStyle();
}
/// #else
getCurrentWindow().webContents.pasteAndMatchStyle();
/// #endif
};