- make codemirror package more capable

- add themes from react package
- add Autocomplete from react package
- handle dynamic extensions
- handle keyboard shortcuts
- make StrudelMirror as capable as Repl
This commit is contained in:
Felix Roos 2023-12-14 09:42:25 +01:00
parent 0a070a2084
commit 87feac447b
16 changed files with 1120 additions and 180 deletions

View file

@ -33,3 +33,5 @@ export const flash = (view, ms = 200) => {
view.dispatch({ effects: setFlash.of(false) });
}, ms);
};
export const isFlashEnabled = (on) => (on ? flashField : []);