fix: codemirror reeval
This commit is contained in:
parent
352e647d37
commit
b5b0156e08
2 changed files with 4 additions and 7 deletions
|
|
@ -128,6 +128,7 @@ export const flash = (view, ms = 200) => {
|
|||
|
||||
export class StrudelMirror {
|
||||
constructor({ root, initialCode = '', onEvaluate, onStop }) {
|
||||
this.code = initialCode;
|
||||
this.view = initEditor({
|
||||
root,
|
||||
initialCode,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue