mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 00:50:13 +01:00
This commit is contained in:
parent
2b9a618133
commit
8ba3ab0add
3 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue