Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k committed Mar 25, 2024
1 parent 2281b3c commit 26b25cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sources/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ const App = () => {
value: inputScala,
mode: "text/x-scala",
});
cm.current.setSize("100%", "100%");
}
return () => {};
}, [inputScala, formatInput]);
Expand Down Expand Up @@ -545,8 +546,8 @@ const App = () => {
onChange=${(e) => setInputScala(cm.current.getValue())}
></div>
<textarea
style="display:none;"
id="input_scala_data"
style="width: 0px; height: 0px"
onkeyup=${(e) => setInputScala(e.target.value)}
onChange=${(e) => setInputScala(e.target.value)}
value=${inputScala}
Expand Down

0 comments on commit 26b25cf

Please sign in to comment.