Skip to content

Commit bb883e9

Browse files
committed
get updates from codeMirror
1 parent fcc1ad2 commit bb883e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
</textarea>
2121
<iframe id=f></iframe>
2222
<script>
23-
onload=oninput=function(){console.clear();f.srcdoc=t.value};
24-
CodeMirror.fromTextArea(t,{lineNumbers:true,mode:"htmlmixed"});
23+
onload=oninput=function(){console.clear();f.srcdoc=e.getValue()};
24+
e=CodeMirror.fromTextArea(t,{lineNumbers:true,mode:"htmlmixed"});
2525
</script>

0 commit comments

Comments
 (0)