MicroRepl poc
This commit is contained in:
parent
8e35079fd1
commit
93e8186388
6 changed files with 206 additions and 5 deletions
|
|
@ -146,8 +146,7 @@ export class StrudelMirror {
|
|||
onChange: (v) => {
|
||||
if (v.docChanged) {
|
||||
this.code = v.state.doc.toString();
|
||||
// TODO: repl is still untouched to make sure the old Repl.jsx stays untouched..
|
||||
// this.repl.setCode(this.code);
|
||||
this.repl.setCode?.(this.code);
|
||||
}
|
||||
},
|
||||
onEvaluate: () => this.evaluate(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue