Skip to content

Commit

Permalink
fix: pasting outside of cells doing nothing
Browse files Browse the repository at this point in the history
Previously pasting anything but cells into the notebook would do nothing. This way pasting other content uses the browser's default action.
  • Loading branch information
iisakkirotko committed Jun 7, 2024
1 parent b6257e9 commit 17b4d52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nbclassic/static/notebook/js/clipboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ function paste(event) {
}
}
first_inserted.focus_cell();
event.preventDefault();
}
event.preventDefault();
}

function notebookOnlyEvent(callback) {
Expand Down

0 comments on commit 17b4d52

Please sign in to comment.