diff --git a/nbclassic/static/notebook/js/clipboard.js b/nbclassic/static/notebook/js/clipboard.js index fe4bab90a..725e6d405 100644 --- a/nbclassic/static/notebook/js/clipboard.js +++ b/nbclassic/static/notebook/js/clipboard.js @@ -74,8 +74,8 @@ function paste(event) { } } first_inserted.focus_cell(); + event.preventDefault(); } - event.preventDefault(); } function notebookOnlyEvent(callback) {