We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad86a22 commit fddd2fdCopy full SHA for fddd2fd
src/pages/HomePage/NotebookViewComponent.tsx
@@ -215,11 +215,11 @@ const NotebookViewComponent: FunctionComponent<NotebookViewComponentProps> = ({
215
} else if (event.key === "ArrowDown") {
216
onGoToNextCell();
217
event.preventDefault();
218
- } else if (event.key === "a" && activeCellId) {
+ } else if (event.key === "a" && !event.ctrlKey && activeCellId) {
219
onAddCellBeforeCell(activeCellId);
220
- } else if (event.key === "b" && activeCellId) {
+ } else if (event.key === "b" && !event.ctrlKey && activeCellId) {
221
onAddCellAfterCell(activeCellId);
222
- } else if (event.key === "x" && activeCellId) {
+ } else if (event.key === "x" && !event.ctrlKey && activeCellId) {
223
const okayToDelete = window.confirm(
224
"Are you sure you want to delete this cell?",
225
);
0 commit comments