Skip to content

Commit

Permalink
🎨 #13927
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 committed Jan 29, 2025
1 parent 1415aa1 commit 2ea36de
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions app/src/protyle/util/paste.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,15 +234,19 @@ export const pasteText = async (protyle: IProtyle, textPlain: string, nodeElemen
const emitResult = protyle.app.plugins[i].eventBus.emit("paste", {
protyle,
resolve,
textHTML: "",
textPlain: textPlain,
siyuanHTML: "",
textHTML: textPlain,
textPlain,
siyuanHTML: textPlain,
files: []
});
if (emitResult) {
resolve(undefined);
}
});

if (response?.textPlain) {
textPlain = response.textPlain;
}
}
}

Expand Down

0 comments on commit 2ea36de

Please sign in to comment.