hotfix: alt+dot breakage

This commit is contained in:
Felix Roos 2024-10-20 21:04:18 +02:00
parent 1e0cc2ab17
commit d9bd6f9e7d

View File

@ -99,10 +99,8 @@ export function initEditor({ initialCode = '', onChange, onEvaluate, onStop, roo
},
{
key: 'Alt-.',
run: (_, e) => {
e.preventDefault();
onStop?.();
},
preventDefault: true,
run: () => onStop?.(),
},
/* {
key: 'Ctrl-Shift-.',