Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

fix: stopPropagation on Ctrl-B when a cell is not focused (#582)

Myles Scolnick187f07534af9
diff --git a/frontend/src/components/editor/renderers/CellArray.tsx b/frontend/src/components/editor/renderers/CellArray.tsx
index 54a28d595f..e40a5aaeae 100644
--- a/frontend/src/components/editor/renderers/CellArray.tsx
+++ b/frontend/src/components/editor/renderers/CellArray.tsx
@@ -71,6 +71,7 @@ export const CellArray: React.FC<CellArrayProps> = ({
// Catch all to avoid native OS behavior
// Otherwise a user might try to hide a cell and accidentally hide the OS window
useHotkey("cell.hideCode", Functions.NOOP);
+ useHotkey("cell.format", Functions.NOOP);
const onDeleteCell: typeof deleteCell = useEvent((payload) => {
sendDeleteCell(payload.cellId);