dedicated strudelmirror example
This commit is contained in:
parent
99194814a9
commit
9474ed7d85
10 changed files with 1449 additions and 11 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue