Skip to content

Commit

Permalink
fix: pasting outside of cells doing nothing (#285)
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 authored Sep 6, 2024
1 parent b6257e9 commit 1ceae32
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 1ceae32

Please sign in to comment.