mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-02 18:39:05 +01:00
fix: switch input to textarea
This commit is contained in:
parent
1f85bfe944
commit
e0a0273309
@ -38,7 +38,7 @@ function PlotBlock() {
|
||||
React.useEffect(() => {
|
||||
// replace start
|
||||
/*
|
||||
d3.csv("/plotdata/congress.csv", d3.autoType).then((out) => data = out)
|
||||
d3.csv("/plotdata/congress.csv", d3.autoType).then((out) => data = out);
|
||||
return Plot.plot({
|
||||
aspectRatio: 1,
|
||||
x: { label: "Age (years)" },
|
||||
@ -92,8 +92,9 @@ function PlotBlock() {
|
||||
|
||||
return (
|
||||
<div className="plot-block">
|
||||
ß
|
||||
<div className="plot-window" ref={containerRef} />
|
||||
<input type="text" className="plot-config" onChange={(e) => setPlotDef(e.target.value)} />
|
||||
<textarea className="plot-config" onChange={(e) => setPlotDef(e.target.value)} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user