dedicated strudelmirror example

This commit is contained in:
Felix Roos 2023-12-14 10:37:16 +01:00
parent 99194814a9
commit 9474ed7d85
10 changed files with 1449 additions and 11 deletions

View file

@ -144,7 +144,8 @@ export class StrudelMirror {
onChange: (v) => {
if (v.docChanged) {
this.code = v.state.doc.toString();
this.repl.setCode(this.code);
// TODO: repl is still untouched to make sure the old Repl.jsx stays untouched..
// this.repl.setCode(this.code);
}
},
onEvaluate: () => this.evaluate(),