mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where query was not pasted to editor after trojan source warning. #5760
This commit is contained in:
parent
b9cbf08b51
commit
b1e6eaad61
@ -368,8 +368,8 @@ function calcFontSize(fontSize) {
|
||||
return '1em';
|
||||
}
|
||||
|
||||
function handlePaste(_editor, e) {
|
||||
let copiedText = e.clipboardData.getData('text');
|
||||
async function handlePaste(_editor, e) {
|
||||
let copiedText = await e.clipboardData.getData('text');
|
||||
checkTrojanSource(copiedText, true);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user